Skip to content
Snippets Groups Projects

fix(ble): write new mac if files does not exist

Merged schneider requested to merge schneider/fix-ble-mac-write into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -96,7 +96,7 @@ static void setAddress(void)
int result = fs_read_text_file("mac.txt", buf, sizeof(buf));
if (result == -1) {
if (result < 0) {
APP_TRACE_INFO0("mac.txt not found, generating random MAC");
epic_trng_read(bdAddr + 3, 3);
sprintf(buf,
Loading