|
|
@ -41,7 +41,10 @@ void hardware_init() { |
|
|
|
} |
|
|
|
void hardware_default_settings() { mf_init_all_subdevice_state(); } |
|
|
|
|
|
|
|
void flip_debuf_light_level() { /*printf("flip_debuf_light_level\n");*/ |
|
|
|
void flip_debuf_light_level() { |
|
|
|
static uint8_t debug_led_state = 1; |
|
|
|
debug_led_state = !debug_led_state; |
|
|
|
port_debug_set(debug_led_state); |
|
|
|
} |
|
|
|
|
|
|
|
int main() { |
|
|
@ -56,7 +59,7 @@ int main() { |
|
|
|
END(); |
|
|
|
|
|
|
|
// debug light |
|
|
|
DO_IT_EACH_MS(2000) { flip_debuf_light_level(); } |
|
|
|
DO_IT_EACH_MS(150) { flip_debuf_light_level(); } |
|
|
|
END(); |
|
|
|
} |
|
|
|
|
|
|
|