Skip to content

Commit

Permalink
Resolve #24: show IF frequency during calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
camilstaps committed May 16, 2017
1 parent 0c1ce56 commit 0f8fb86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions SODA_POP/SODA_POP.ino
Original file line number Diff line number Diff line change
Expand Up @@ -820,9 +820,11 @@ void loop_calibration_peak_if()
} else if (rotated_up()) {
state.op_freq += 1000;
invalidate_frequencies();
invalidate_display();
} else if (rotated_down()) {
state.op_freq -= 1000;
invalidate_frequencies();
invalidate_display();
}
}

Expand Down
6 changes: 1 addition & 5 deletions SODA_POP/display.ino
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,7 @@ void invalidate_display()
state.display.dots = 0x1;
break;
case S_CALIBRATION_PEAK_IF:
state.display.digits[3] = LED_P;
state.display.digits[2] = 0x00;
state.display.digits[1] = LED_I;
state.display.digits[0] = LED_F;
state.display.dots = 0x9;
display_freq();
break;
case S_CALIBRATION_PEAK_RX:
state.display.digits[3] = LED_P;
Expand Down

0 comments on commit 0f8fb86

Please sign in to comment.