diff --git a/firmware/README.md b/firmware/README.md index d0a41ab..520dcb1 100644 --- a/firmware/README.md +++ b/firmware/README.md @@ -44,8 +44,6 @@ call the REGISTER() macro to define the entry point to your application. ## Bugs and TODOs -* _delay_ms() function will be replaced (it waits too long and the application - cannot be quit while waiting) * add more functions to the hardware abstraction layer * a mechanism to select which applications to include in the firmware diff --git a/firmware/lib/hal.c b/firmware/lib/hal.c index db51d66..b1b0e69 100644 --- a/firmware/lib/hal.c +++ b/firmware/lib/hal.c @@ -77,9 +77,10 @@ void reset_hw(void) { // 0: S1 // 1: S2 + // 6: MOTOR // 7: BUZZR PORTB = (1 << 0) | (1 << 1) | (1 << 7); - DDRB = (1 << 7); + DDRB = (1 << 6) | (1 << 7); // 0: BUZGND // 2: LED2