#ifdef VISUALIZER_ENABLE
#include "visualizer/visualizer.h"
#endif
+#ifdef MIDI_ENABLE
+#include "qmk_midi.h"
+#endif
+#ifdef STM32F303xC
+#include "eeprom_stm32.h"
+#endif
#include "suspend.h"
#include "wait.h"
send_consumer
};
+#ifdef VIRTSER_ENABLE
+void virtser_task(void);
+#endif
+
+#ifdef RAW_HID_ENABLE
+void raw_hid_task(void);
+#endif
+
+#ifdef CONSOLE_ENABLE
+void console_task(void);
+#endif
/* TESTING
* Amber LED blinker thread, times are in milliseconds.
halInit();
chSysInit();
+#ifdef STM32F303xC
+ EEPROM_init();
+#endif
+
// TESTING
// chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
/* init printf */
init_printf(NULL,sendchar_pf);
+#ifdef MIDI_ENABLE
+ setup_midi();
+#endif
+
#ifdef SERIAL_LINK_ENABLE
init_serial_link();
#endif
}
keyboard_task();
+#ifdef CONSOLE_ENABLE
+ console_task();
+#endif
+#ifdef VIRTSER_ENABLE
+ virtser_task();
+#endif
+#ifdef RAW_HID_ENABLE
+ raw_hid_task();
+#endif
}
}