Removed leds debug output
This commit is contained in:
parent
47db065034
commit
418a5772e6
1 changed files with 0 additions and 2 deletions
|
@ -40,7 +40,6 @@
|
||||||
#include "dev/uart0.h"
|
#include "dev/uart0.h"
|
||||||
#include "dev/watchdog.h"
|
#include "dev/watchdog.h"
|
||||||
#include "lib/ringbuf.h"
|
#include "lib/ringbuf.h"
|
||||||
#include "dev/leds.h"
|
|
||||||
#include "isr_compat.h"
|
#include "isr_compat.h"
|
||||||
|
|
||||||
static int (*uart0_input_handler)(unsigned char c);
|
static int (*uart0_input_handler)(unsigned char c);
|
||||||
|
@ -144,7 +143,6 @@ ISR(USCIAB0RX, uart0_rx_interrupt)
|
||||||
uint8_t c;
|
uint8_t c;
|
||||||
|
|
||||||
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
ENERGEST_ON(ENERGEST_TYPE_IRQ);
|
||||||
leds_toggle(LEDS_RED);
|
|
||||||
if(UCA0STAT & UCRXERR) {
|
if(UCA0STAT & UCRXERR) {
|
||||||
c = UCA0RXBUF; /* Clear error flags by forcing a dummy read. */
|
c = UCA0RXBUF; /* Clear error flags by forcing a dummy read. */
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue