diff --git a/src/comm_megawifi.c b/src/comm_megawifi.c index fdfa06a..c8f9c88 100644 --- a/src/comm_megawifi.c +++ b/src/comm_megawifi.c @@ -112,7 +112,7 @@ static void tasking_init(void) void comm_megawifi_init(void) { - scheduler_addTickHandler(*comm_megawifi_tick); + scheduler_addTickHandler(comm_megawifi_tick); status = NotDetected; enum mw_err err = mw_init(cmd_buf, MW_BUFLEN); diff --git a/src/main.c b/src/main.c index 81937cf..c36ba9c 100644 --- a/src/main.c +++ b/src/main.c @@ -15,11 +15,11 @@ static void registerSchedulerHandlers() { - scheduler_addFrameHandler(*midi_psg_tick); - scheduler_addFrameHandler(*ui_update); - scheduler_addFrameHandler(*everdrive_led_tick); - scheduler_addFrameHandler(*comm_megawifi_vsync); - scheduler_addFrameHandler(*comm_demo_vsync); + scheduler_addFrameHandler(midi_psg_tick); + scheduler_addFrameHandler(ui_update); + scheduler_addFrameHandler(everdrive_led_tick); + scheduler_addFrameHandler(comm_megawifi_vsync); + scheduler_addFrameHandler(comm_demo_vsync); } int main() diff --git a/src/midi_receiver.c b/src/midi_receiver.c index 80cbce1..856dc65 100644 --- a/src/midi_receiver.c +++ b/src/midi_receiver.c @@ -37,7 +37,7 @@ static void readSysEx(void); void midi_receiver_init(void) { - scheduler_addTickHandler(*midi_receiver_read_if_comm_ready); + scheduler_addTickHandler(midi_receiver_read_if_comm_ready); } void midi_receiver_read_if_comm_ready(void)