X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=helps.c;h=20237dd1f5b713e564c54627101433b89301c26a;hb=ecaa9d61df13e9de8445bf1233bd3f40848cd286;hp=06002863725dc1aeedbb49e8e9ea68ca62e970d3;hpb=ed76e453e042fb01004a4feb891bccb4491b1355;p=openi2cradio%2FOpenI2CRadio.git diff --git a/helps.c b/helps.c index 0600286..20237dd 100644 --- 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;