config cleanups
This commit is contained in:
parent
2e1f1a69d1
commit
ff2c891961
|
@ -13,18 +13,6 @@
|
||||||
|
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
void readcfg(void) {
|
|
||||||
readConfig();
|
|
||||||
};
|
|
||||||
|
|
||||||
void savecfg(void){
|
|
||||||
saveConfig();
|
|
||||||
};
|
|
||||||
|
|
||||||
void applycfg(void){
|
|
||||||
applyConfig();
|
|
||||||
};
|
|
||||||
|
|
||||||
//# MENU config
|
//# MENU config
|
||||||
void changer(void){
|
void changer(void){
|
||||||
uint8_t numentries = 0;
|
uint8_t numentries = 0;
|
||||||
|
|
|
@ -49,6 +49,8 @@ int saveConfig(void){
|
||||||
UINT allwrite=0;
|
UINT allwrite=0;
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
|
lcdClear();
|
||||||
|
|
||||||
res=f_open(&file, CONFFILE, FA_OPEN_ALWAYS|FA_WRITE);
|
res=f_open(&file, CONFFILE, FA_OPEN_ALWAYS|FA_WRITE);
|
||||||
lcdPrint("create:");
|
lcdPrint("create:");
|
||||||
lcdPrintln(f_get_rc_string(res));
|
lcdPrintln(f_get_rc_string(res));
|
||||||
|
|
Loading…
Reference in New Issue