From 5eacbeedbadaf9b013a034064d5d580be74dd6de Mon Sep 17 00:00:00 2001 From: dak664 Date: Wed, 10 Feb 2010 22:53:55 +0000 Subject: [PATCH] *** empty log message *** --- platform/avr-ravenlcd/menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/avr-ravenlcd/menu.c b/platform/avr-ravenlcd/menu.c index c669f6251..a4a4d6ad0 100644 --- a/platform/avr-ravenlcd/menu.c +++ b/platform/avr-ravenlcd/menu.c @@ -138,15 +138,15 @@ uint8_t void eeprom_init(void) { - uint8_t val; + uint8_t val; if(0xFF == eeprom_read_byte(EEPROM_DEBUG_ADDR)){ - /* Disable - Reverse logic. */ + /* Disable - Reverse logic. */ val = 1; menu_debug_mode(&val); } else{ /* Enable - Reverse logic. */ - val = 0; + val = 0; menu_debug_mode(&val); } } @@ -404,7 +404,7 @@ void menu_send_temp(void) { int16_t result; - uint8_t str[10]; + uint8_t str[12]; uint8_t * p = 0; /* Turn on nose LED for activity indicator */ @@ -417,7 +417,7 @@ menu_send_temp(void) p = signed_dectoascii(result, (str + 10)); /* Send frame via serial port. */ - uart_serial_send_frame(SEND_TEMP, strlen((char *)p), p); + uart_serial_send_frame(SEND_TEMP, 1+strlen((char *)p), p); led_off(); }