avr: work on simple GUI module to be used by node c02.
This commit is contained in:
@@ -268,6 +268,14 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifdef MODULES_GUI
|
||||
.include "modules/lcd2/gui/defs.asm"
|
||||
.include "modules/lcd2/gui/main.asm"
|
||||
.include "modules/lcd2/gui/window.asm"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_FONT_8X8
|
||||
.include "modules/lcd2/font/defs.asm"
|
||||
.include "modules/lcd2/font/font8x8.asm"
|
||||
|
||||
@@ -179,6 +179,11 @@ onSystemTimerTick:
|
||||
bigcall Brightness_Every100ms
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_GUI
|
||||
bigcall GUI_Every100ms
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef APPS_NETWORK
|
||||
ldi yl, LOW(netInterfaceData)
|
||||
ldi yh, HIGH(netInterfaceData)
|
||||
@@ -196,7 +201,7 @@ onSystemTimerTick:
|
||||
#ifdef APPS_MA_LIGHT
|
||||
bigcall AppMotionLight_Every100ms
|
||||
#endif
|
||||
|
||||
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
@@ -193,6 +193,10 @@ initModules:
|
||||
bigcall ILI9341_Init
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_GUI
|
||||
bigcall GUI_Init
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_BRIGHTNESS
|
||||
bigcall Brightness_Init
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user