diff options
Diffstat (limited to 'demos/AVR-ATmega128-GCC/board.c')
-rw-r--r-- | demos/AVR-ATmega128-GCC/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/AVR-ATmega128-GCC/board.c b/demos/AVR-ATmega128-GCC/board.c index 6ac43a218..03907d391 100644 --- a/demos/AVR-ATmega128-GCC/board.c +++ b/demos/AVR-ATmega128-GCC/board.c @@ -23,6 +23,7 @@ #include <avr/interrupt.h>
#include "board.h"
+#include "avr_serial.h"
ISR(TIMER0_COMP_vect) {
@@ -78,4 +79,9 @@ void hwinit(void) { TCNT0 = 0; // Reset counter.
TIFR = (1 << OCF0); // Reset pending (if any).
TIMSK = (1 << OCIE0); // Interrupt on compare.
+
+ /*
+ * Other initializations.
+ */
+ InitSerial();
}
|