Skip to content

Commit

Permalink
Use uint8_t for numpad code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezod committed Nov 5, 2022
1 parent 1a23a4b commit baa1847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coleco.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void input_callback(InputEvent* input_event, FuriMessageQueue* event_queu
furi_message_queue_put(event_queue, &event, FuriWaitForever);
}

static void coleco_write_code(unsigned int code)
static void coleco_write_code(uint8_t code)
{
furi_hal_gpio_write(pin_code0, (code & 1));
furi_hal_gpio_write(pin_code1, (code & 2));
Expand Down

0 comments on commit baa1847

Please sign in to comment.