*** empty log message ***

This commit is contained in:
dak664 2010-02-10 22:53:55 +00:00
parent 308df68375
commit 5eacbeedba

View file

@ -138,15 +138,15 @@ uint8_t
void void
eeprom_init(void) eeprom_init(void)
{ {
uint8_t val; uint8_t val;
if(0xFF == eeprom_read_byte(EEPROM_DEBUG_ADDR)){ if(0xFF == eeprom_read_byte(EEPROM_DEBUG_ADDR)){
/* Disable - Reverse logic. */ /* Disable - Reverse logic. */
val = 1; val = 1;
menu_debug_mode(&val); menu_debug_mode(&val);
} }
else{ else{
/* Enable - Reverse logic. */ /* Enable - Reverse logic. */
val = 0; val = 0;
menu_debug_mode(&val); menu_debug_mode(&val);
} }
} }
@ -404,7 +404,7 @@ void
menu_send_temp(void) menu_send_temp(void)
{ {
int16_t result; int16_t result;
uint8_t str[10]; uint8_t str[12];
uint8_t * p = 0; uint8_t * p = 0;
/* Turn on nose LED for activity indicator */ /* Turn on nose LED for activity indicator */
@ -417,7 +417,7 @@ menu_send_temp(void)
p = signed_dectoascii(result, (str + 10)); p = signed_dectoascii(result, (str + 10));
/* Send frame via serial port. */ /* 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(); led_off();
} }