Update jbio for testmenu support and add jbio-p4io

This commit is contained in:
Will Toohey
2021-04-04 16:41:45 +10:00
parent 33e65d5446
commit 59f4bd79e4
34 changed files with 1214 additions and 172 deletions
+3 -1
View File
@@ -8,4 +8,6 @@ EXPORTS
jb_io_read_inputs
jb_io_set_loggers
jb_io_set_rgb_led
jb_io_write_outputs
jb_io_set_coin_blocker
jb_io_set_panel_mode
jb_io_write_lights
+11 -1
View File
@@ -119,7 +119,7 @@ bool jb_io_read_inputs(void)
return true;
}
bool jb_io_write_outputs(void)
bool jb_io_write_lights(void)
{
return true;
}
@@ -139,3 +139,13 @@ void jb_io_set_rgb_led(enum jb_io_rgb_led unit, uint8_t r, uint8_t g, uint8_t b)
// I mean I guess there's reactive LEDs on the sides? I'm not going to the
// effort to work out if they're controllable or not
}
bool jb_io_set_panel_mode(enum jb_io_panel_mode mode)
{
return true;
}
bool jb_io_set_coin_blocker(bool blocked)
{
return true;
}