mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-08 07:53:59 +00:00
change from active to active_props
This commit is contained in:
parent
407d802a9c
commit
4845bde486
4 changed files with 12 additions and 12 deletions
4
flash.c
4
flash.c
|
|
@ -162,7 +162,7 @@ caldata_save(int id)
|
|||
}
|
||||
|
||||
/* after saving data, make active configuration points to flash */
|
||||
active = (properties_t*)saveareas[id];
|
||||
active_props = (properties_t*)saveareas[id];
|
||||
lastsaveid = id;
|
||||
|
||||
return 0;
|
||||
|
|
@ -186,7 +186,7 @@ caldata_recall(int id)
|
|||
return -1;
|
||||
|
||||
/* active configuration points to save data on flash memory */
|
||||
active = src;
|
||||
active_props = src;
|
||||
lastsaveid = id;
|
||||
|
||||
/* duplicated saved data onto sram to be able to modify marker/trace */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue