Naked, I get the boot message “// teletype” and the “clearing flash” message.
So I started adding debug statements to see what’s happening. I eventually track it down to handler_ScreenRefresh()
Here’s where I get stuck. The bottom of screen_refresh_live():
char s[8];
itoa(screen_dirty, s, 10);
print_dbg("\r\nlive mode dirty: ");
print_dbg(s);
return screen_dirty;
The serial console displays that dirty is 255. Back in handler_ScreenRefresh():
switch (mode) {
case M_PATTERN: screen_dirty = screen_refresh_pattern(); break;
case M_PRESET_W: screen_dirty = screen_refresh_preset_w(); break;
case M_PRESET_R: screen_dirty = screen_refresh_preset_r(); break;
case M_HELP: screen_dirty = screen_refresh_help(); break;
case M_LIVE: screen_dirty = screen_refresh_live(); break;
case M_EDIT: screen_dirty = screen_refresh_edit(); break;
case M_SCREENSAVER: screen_dirty = screen_refresh_screensaver(); break;
}
print_dbg("\r\nscreen_dirty: ");
itoa(screen_dirty, s, 10);
print_dbg(s);
I never see this debug line appear. Additionally, no further events are called.