summaryrefslogtreecommitdiff
path: root/firmware/src/picc/main_openpicc.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/picc/main_openpicc.c')
-rw-r--r--firmware/src/picc/main_openpicc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/src/picc/main_openpicc.c b/firmware/src/picc/main_openpicc.c
index c8d2fd0..df754de 100644
--- a/firmware/src/picc/main_openpicc.c
+++ b/firmware/src/picc/main_openpicc.c
@@ -47,6 +47,7 @@ static u_int8_t load_mod = 0;
void _init_func(void)
{
+ /* low-level hardware initialization */
pio_irq_init();
pll_init();
poti_init();
@@ -57,6 +58,10 @@ void _init_func(void)
adc_init();
ssc_rx_init();
// ssc_tx_init();
+
+ /* high-level protocol */
+ decoder_init();
+ opicc_usbapi_init();
AT91F_PIO_CfgInput(AT91C_BASE_PIOA, OPENPICC_PIO_BOOTLDR);
}
personal git repositories of Harald Welte. Your mileage may vary