crashtest-r0ket/main.c
Stefan `Sec` Zehl 94003362a4 set USB_CONNECT high on bootup to not confuse usb host.
Also remove adcInit and pmuInit from main.c because systemInit already calls them.
2011-06-13 23:09:37 +02:00

29 lines
491 B
C

#include <sysinit.h>
#include "basic/basic.h"
#include "lcd/render.h"
#include "pmu/pmu.h"
#include "eeprom/eeprom.h"
void ReinvokeISP(void);
/**************************************************************************/
void wrapper(void);
int main(void) {
// Configure cpu and mandatory peripherals
systemInit();
// initialise basic badge functions
rbInit();
lcdInit(); // display
lcdFill(0);
lcdDisplay(0);
wrapper(); // see module/ subdirectory
}