Quote from: pelrun on 17 / January / 2012, 11:42:33changeset 1569 reuses a conf number in core/conf.cCode: [Select] CONF_INFO(248, conf.charmap_file, CONF_CHAR_PTR, ptr:"", NULL), The last one should be 250.Fixed. r1576
changeset 1569 reuses a conf number in core/conf.cCode: [Select] CONF_INFO(248, conf.charmap_file, CONF_CHAR_PTR, ptr:"", NULL), The last one should be 250.
CONF_INFO(248, conf.charmap_file, CONF_CHAR_PTR, ptr:"", NULL),
it looks like something is possibly clobbering one of the two USB remote conf variables at 248 or 249. I'll look closer tomorrow but is there any chance 250 is overwriting them when the file is stored ?
I've gone back over the code changes and I can't see any reason why this would happen - that's not to say there isn't a problem with my config file changes; but it's not obvious. If you can find any pattern to the problem that would help a lot.
draw_string(2,16,buf,MAKE_COLOR(COLOR_YELLOW,COLOR_RED));
It appears that the USB remote debug print code was running too early in the startup sequence - before the various things necessary to display on the LCD are setup. Interesting that this was not a problem in the stable branch though.
You have the debug display code in the function being called from the kyeboard task.It would be better if you could move the debug display code to a seperate function and call this from the spytask task, which is where most of the gui display stuff lives.If that's not possible you could add a variable that gets set after the call to gui_init in core_spytask that lets your usb remote code know it is safe to display debug info.
Quick patch for the menu UI issue attached. (against trunk)
Had to comment out TBOX references to have the compiler complete the compile.
2. Why now there is no 'modules' entry in menu? I believe that it was usefull. User could add/remove modules without any changes to menu. Is this caused by startup crash?