diff --git a/firmware/main.c b/firmware/main.c index 9dfdf3a..d7c11b0 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -27,7 +27,7 @@ #include /* Convenience functions for busy-wait delay loops */ #include /* Interrupts */ #include /* Watchdog timer handling */ -//#include /* Program Space Utilities */ +#include /* Program Space Utilities */ #include "main.h" #include "uart.h" @@ -35,7 +35,6 @@ #include "settings.h" /* help strings */ -/* const char help_00[] PROGMEM = "commands:\n"; const char help_01[] PROGMEM = "\thelp display this help\n"; const char help_02[] PROGMEM = "\treset reset boad and settings\n"; @@ -68,7 +67,6 @@ PGM_P const help_table[] PROGMEM = { help_13, help_14, }; -*/ volatile uint8_t* PORTS[CHANNELS_1+CHANNELS_2] = {&PORTC,&PORTC,&PORTC,&PORTC,&PORTC,&PORTD,&PORTD,&PORTD,&PORTD,&PORTD}; volatile uint8_t* DDRS[CHANNELS_1+CHANNELS_2] = {&DDRC,&DDRC,&DDRC,&DDRC,&DDRC,&DDRD,&DDRD,&DDRD,&DDRD,&DDRD}; @@ -261,7 +259,6 @@ void ioinit(void) void help(void) { - /* char* str; for (uint8_t i=0; i