diff options
Diffstat (limited to 'drivers/qwiic/qwiic.c')
-rw-r--r-- | drivers/qwiic/qwiic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/qwiic/qwiic.c b/drivers/qwiic/qwiic.c index 9047919927..316d6539cb 100644 --- a/drivers/qwiic/qwiic.c +++ b/drivers/qwiic/qwiic.c @@ -16,16 +16,16 @@ #include "qwiic.h" void qwiic_init(void) { - #ifdef QWIIC_JOYSTIIC_ENABLE +#ifdef QWIIC_JOYSTIIC_ENABLE joystiic_init(); - #endif - #ifdef QWIIC_MICRO_OLED_ENABLE +#endif +#ifdef QWIIC_MICRO_OLED_ENABLE micro_oled_init(); - #endif +#endif } void qwiic_task(void) { - #ifdef QWIIC_JOYSTIIC_ENABLE +#ifdef QWIIC_JOYSTIIC_ENABLE joystiic_task(); - #endif +#endif } |