Fix filename to be the same in read && write
This commit is contained in:
parent
e8f06b2388
commit
1077b5fd1e
|
@ -32,7 +32,7 @@ void openbeaconSave(uint32_t s)
|
||||||
BYTE buf[4];
|
BYTE buf[4];
|
||||||
UINT readbytes;
|
UINT readbytes;
|
||||||
|
|
||||||
if( f_open(&file, "beacon", FA_OPEN_ALWAYS|FA_WRITE) )
|
if( f_open(&file, "beacon.cfg", FA_OPEN_ALWAYS|FA_WRITE) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uint32touint8p(s, buf);
|
uint32touint8p(s, buf);
|
||||||
|
|
Loading…
Reference in New Issue