Skip to content

Commit

Permalink
4732 使用39键进行bfo调节
Browse files Browse the repository at this point in the history
  • Loading branch information
losehu authored Sep 21, 2024
1 parent 021656e commit 5c62378
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/si.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ void SI_key(KEY_Code_t key, bool KEY_TYPE1, bool KEY_TYPE2, bool KEY_TYPE3, KEY_
resetBFO();
return;
#ifdef ENABLE_4732SSB
case KEY_3:
case KEY_SIDE1:
if (SI47XX_IsSSB()) {
if (bfo < INT16_MAX - 10) {
Expand All @@ -413,7 +414,7 @@ void SI_key(KEY_Code_t key, bool KEY_TYPE1, bool KEY_TYPE2, bool KEY_TYPE3, KEY_
SI47XX_SetBFO(bfo);
}
return;

case KEY_9:
case KEY_SIDE2:
if (SI47XX_IsSSB()) {
if (bfo > INT16_MIN + 10) {
Expand Down

0 comments on commit 5c62378

Please sign in to comment.