Finally figured out how to add a warning tone for DSM2 range check mode.

(It only took me about an hour and a half! :-/)

Also increased max filename length handled by "Restore Model" to 16 chars
(only when long filename support is configured in FatFs/ffconf.h)

Bertrand: I had to comment out a call to sdPollmS() as it doesn't seem to exist.
Hopefully the system freeze when I try to select "Restore Model" is
just a symptom of this same issue ... though I fear not.
This commit is contained in:
gruvin@gmail.com
2012-08-22 05:18:20 +00:00
parent bf2055e1ad
commit d6690cbb01
2 changed files with 13 additions and 5 deletions
+6 -1
View File
@@ -207,7 +207,12 @@ void displayConfirmation(uint8_t event);
#if defined(SDCARD)
#define MENU_MAX_LINES 4
#define MENU_LINE_LENGTH (8+1)
#include "FatFs/ffconf.h"
#ifdef _USE_LFN
# define MENU_LINE_LENGTH (16+1)
#else
# define MENU_LINE_LENGTH (8+1)
#endif
extern const char *s_menu[MENU_MAX_LINES];
extern char s_bss_menu[MENU_MAX_LINES*MENU_LINE_LENGTH];
extern uint8_t s_menu_count;