Skip to content

Commit

Permalink
Fill magic filed on load default, this allow correct save on SD card
Browse files Browse the repository at this point in the history
  • Loading branch information
DiSlord committed Sep 24, 2023
1 parent ff96b9c commit be2fe7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ static const marker_t def_markers[MARKERS_MAX] = {
// Load propeties default settings
static void load_default_properties(void) {
//Magic add on caldata_save
//current_props.magic = CONFIG_MAGIC;
current_props.magic = CONFIG_MAGIC;
current_props._frequency0 = 50000; // start = 50kHz
current_props._frequency1 = 900000000; // end = 900MHz
current_props._var_freq = 0;
Expand Down

2 comments on commit be2fe7c

@owenduffy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an important fix, will you create a release incorporating it please?

Owen

@nlroth
Copy link

@nlroth nlroth commented on be2fe7c Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering if this issued was repeated in the LiteVNA sourcecode?

Please sign in to comment.