diff options
Diffstat (limited to 'demo/source/main.c')
-rw-r--r-- | demo/source/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/demo/source/main.c b/demo/source/main.c index 4c838a6..ce0a234 100644 --- a/demo/source/main.c +++ b/demo/source/main.c @@ -9,10 +9,11 @@ ax_err ax_main(void) { axd_initgfx(); bool const err = axd_loop(&dat); if (err) { - for (ax_i10 px = 0x0u;px != 0x9600u;++px) { + for (ax_i01 px = 0x0u;px != 0x9600u;++px) { ax_setpx1(dat.vaddr,px,dat.col); axd_chgcol(&dat,0x1u); } + return ax_err_max; } - return err ? ax_err_max : ax_err_ok; + return ax_err_ok; } |