OSDN Git Service

[POWER][v2.0] Fix right shutdown sequence.
[openi2cradio/OpenI2CRadio.git] / helps.c
diff --git a/helps.c b/helps.c
index 0600286..20237dd 100644 (file)
--- a/helps.c
+++ b/helps.c
@@ -58,23 +58,24 @@ const char *updown_helpstr[16] = {
     };
 
 const char *setup_helpstr[14] = {
-        "0: Power OFF",  " ",
+        "0: Power OFF",  "1: List userband",
         "3: BL Level", "E: BL time",
         "A: Load", "D: Reset default",
-        "C: Save status", " ",
-        "7: FM CNR", "8: AM CNR"
+        "C: Save status", "6: ",
+        "7: FM CNR", "8: AM CNR",
         "9: FM STEREO", "4: FM BW",
-        "5: Cancel", "f: (Exit) Help",
+        "5: Cancel", "F: (Exit) Help",
     };
 
-const char *mainmenu_helpstr[14] = {
+const char *mainmenu_helpstr[16] = {
         "0: Setup", "1: Band",
         "2:Resv", "3: Freq",
         "4: Call user", "6: Set user",
         "7: Power Off", "8: Volume",
         "9: Reload", "A: AM/FM",
         "B: Cancel","C: Set user",
-        "D: Input user","F: (Exit) Help",
+        "D: Input user","E: FM PITCH",
+        " ", "F: (Exit) Help",
 };
 
 const char *numeric_helpstr[8] = {
@@ -131,9 +132,9 @@ void setup_help(void)
 unsigned char printhelp_2lines(const char *l1, const char *l2)
 {
     _CLS();
-    _LOCATE(0,0);
+    _LOCATE_0_0();
     printstr(l1);
-    _LOCATE(0,1);
+    _LOCATE_0_1();
     printstr(l2);
     _HOME();
     return pollkey_single();
@@ -163,7 +164,7 @@ void mainmenu_help(void)
         c = printhelp_2lines(mainmenu_helpstr[l], mainmenu_helpstr[l + 1]);
         if(c == charcode_f) return;
         l += 2;
-        if(l >= 14) {
+        if(l >= 16) {
             c = numeric_help();
             if(c == charcode_f) return;
             if(help_version() == charcode_f) return;