Skip to content

Commit

Permalink
debug for osd weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Jul 7, 2024
1 parent 043d4f4 commit bd359b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/display/lcd_at32f435.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ static void i2c_rx_tc(void)
struct i2c_osd_info *info = (struct i2c_osd_info *)buffer;

osd_buttons_rx = info->buttons;
if (osd_buttons_rx) {
printk("{%02x %02x %02x %02x}\n", info->protocol_ver,
info->fw_major, info->fw_minor, info->buttons);
}

/* Now do the OSD write. */
dma_start(osd_prep_buffer());
Expand Down

0 comments on commit bd359b7

Please sign in to comment.