OSDN Git Service

[UI] Set mode3k correctly.
[openi2cradio/OpenI2CRadio.git] / menu_memoryfreq.c
index 2c8ab20..160606f 100644 (file)
@@ -121,8 +121,8 @@ void on_updown_userfreq(void)
     unsigned char _fm;
     unsigned char _band;
     unsigned char _userband;
-    unsigned char dispf = 0xff;
     unsigned char c;
+    unsigned char dispf = 0xff;
 
     _fm = setup.fm;
     _freq = setup.amfreq;
@@ -183,10 +183,11 @@ void on_updown_userfreq(void)
            case charcode_a:
                 goto _l0;
                 break;
+           case charcode_e: // Set Light
            default:
                break;
            }
-       idle_time_ms(9);
+            idle_time_ms(9); // Pad 9ms, 1Loop = 1000ms.
     } while(1);
 _l0:
     _CLS();