Commit 20de6598 authored by hpi1's avatar hpi1

graphics controller: added GC_CTRL_IG_END and GC_CTRL_RESET

parent ab7a991b
......@@ -535,9 +535,15 @@ void gc_run(GRAPHICS_CONTROLLER *gc, gc_ctrl_e ctrl, uint32_t param, GC_NAV_CMDS
/* fall thru */
case GC_CTRL_NOP:
_render_page(gc,
0xffff,
cmds);
_render_page(gc, 0xffff, cmds);
break;
case GC_CTRL_RESET:
_gc_reset(gc);
break;
case GC_CTRL_IG_END:
_render_page(gc, 0xffff, cmds);
break;
case GC_CTRL_ENABLE_BUTTON:
......
......@@ -46,6 +46,8 @@ typedef enum {
GC_CTRL_DISABLE_BUTTON, /* param: button_id */
GC_CTRL_SET_BUTTON_PAGE,
GC_CTRL_POPUP, /* param: on/off */
GC_CTRL_IG_END, /* execution of IG object is complete */
GC_CTRL_RESET, /* reset graphics controller */
} gc_ctrl_e;
typedef struct {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment