-# $Id: Makefile,v 1.2 2010/06/26 19:08:18 simimeie Exp $
+# $Id: Makefile,v 1.3 2010/06/27 22:19:15 simimeie Exp $
# Makefile for HaWo Moodlight
CC = avr-gcc
# desired baudrate of serial debug console
BAUDRATE = 9600UL
-SRCS = console.c ledpwm.c ircontrol.c main.c
+SRCS = console.c ledpwm.c ircontrol.c timers.c main.c
PROG = moodlight
# compiler flags
-/* $Id: main.c,v 1.2 2010/06/26 19:08:18 simimeie Exp $
+/* $Id: main.c,v 1.3 2010/06/27 22:19:15 simimeie Exp $
* Main file for the HaWo moodlight.
* This is the main file that glues it all together. It also contains all
* functionality that is too small to require an extra file.
#include "console.h"
#include "ledpwm.h"
#include "ircontrol.h"
+#include "timers.h"
/* #include "eepromdata.h" */
uint8_t mcusr_mirror __attribute__ ((section (".noinit")));
/* Initialize stuff */
console_init();
+ timers_init();
ledpwm_init();
ircontrol_init();