From a0da1143000687a68012941333585cf724e6e59a Mon Sep 17 00:00:00 2001 From: bigalex Date: Fri, 12 Oct 2012 01:04:26 +0200 Subject: [PATCH] turn off the motor before power down --- firmware/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/main.c b/firmware/main.c index c1954c8..b8278b3 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -59,6 +59,7 @@ void do_powerDown(void) mode_uninitialized = false; pwdn_state = 0; timer_set(&mytimer, 5); + set_motor(MOTOR_OFF); ledRon = true; }; if (timer_expired(&mytimer)) {