cockroach: deinitialize

This commit is contained in:
Thammi 2012-10-13 16:32:36 +02:00
parent 15d45fd496
commit 5b0cdfd1fe

View File

@ -18,6 +18,13 @@ static void led_sound(void)
static timer_t mytimer;
uint16_t led1;
if(mode_last_tick) {
led_off(LED_L | LED_R);
set_motor(MOTOR_OFF);
music_setNote(NOTE_PAUSE, 0);
return;
}
if (mode_uninitialized) {
mode_uninitialized = false;
set_motor(MOTOR_OFF);