]>
cloudbase.mooo.com Git - z180-stamp.git/blob - avr/background.c
2 #include "background.h"
7 static bg_func func_tab
[BG_FUNC_MAX
];
8 static int_fast8_t fcount
;
10 int bg_register(bg_func f
)
12 if (fcount
< BG_FUNC_MAX
) {
13 func_tab
[fcount
++] = f
;
22 static int_fast8_t current
;
24 if (func_tab
[current
]) {
27 if (++current
>= fcount
)