Skip to content

Commit

Permalink
Remove redundant asterisk in function references
Browse files Browse the repository at this point in the history
  • Loading branch information
rhargreaves committed Mar 31, 2024
1 parent d37ce5b commit 218b6d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/comm_megawifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 5 additions & 5 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/midi_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 218b6d5

Please sign in to comment.