restored openbeacon config filename

This commit is contained in:
schneider 2011-08-05 23:35:25 +02:00
parent 592dbfffff
commit 7acf91fabe
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ static void openbeaconSave(uint32_t s)
BYTE buf[4];
UINT readbytes;
if( f_open(&file, "ob.cfg", FA_OPEN_ALWAYS|FA_WRITE) )
if( f_open(&file, "beacon.cfg", FA_OPEN_ALWAYS|FA_WRITE) )
return;
uint32touint8p(s, buf);
@ -50,7 +50,7 @@ static void openbeaconRead()
BYTE buf[4];
UINT readbytes;
if( f_open(&file, "ob.cfg", FA_OPEN_EXISTING|FA_READ) )
if( f_open(&file, "beacon.cfg", FA_OPEN_EXISTING|FA_READ) )
return;
if( f_read(&file, buf, 4, &readbytes) )