From 7f637bc705d3f73fd6aaacfe5ebac1c55904efee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 19 Oct 2013 19:56:24 +0200 Subject: [PATCH] help not in flash (program space) because there is not enough space in RAM --- firmware/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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