53 uint16_t param = index * 4;
60 static const cmd_t commands[] = {
67 while (index <
final) {
69 if (cmd <
sizeof(commands) /
sizeof(commands[0]) && commands[cmd] != NULL) {
74 commands[cmd](param_1, param_2, param_3, param_4);
void draw_cmd_color(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
void draw_cmd_mode(uint8_t drawmode, uint8_t flushmode, uint8_t change_mode, uint8_t change_flush)
void draw_cmd_line(uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2)
void draw_queue_burn(uint8_t page)
cmd_t draw_queue_clojure(uint8_t cmd)
static uint8_t queue_command[2048]
void draw_queue_page(uint8_t page)
static uint16_t page2_cmd
static uint16_t index_cmd
static void draw_cmd_clojure(uint8_t a, uint8_t b, uint8_t c, uint8_t d)
static uint16_t page_current
static uint16_t page1_cmd
static uint8_t clojure_cmd
static uint8_t queue_param[8192]
void draw_queue_push(uint8_t cmd, uint8_t a, uint8_t b, uint8_t c, uint8_t d)
static uint16_t index_param
void draw_cmd_rect(uint8_t x, uint8_t y, uint8_t w, uint8_t h)
void(* cmd_t)(uint8_t, uint8_t, uint8_t, uint8_t)