summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/apbirthday/hardware.hh
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/apbirthday/hardware.hh')
-rw-r--r--digital/io-hub/src/apbirthday/hardware.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/digital/io-hub/src/apbirthday/hardware.hh b/digital/io-hub/src/apbirthday/hardware.hh
index 3cf5a50f..f3378170 100644
--- a/digital/io-hub/src/apbirthday/hardware.hh
+++ b/digital/io-hub/src/apbirthday/hardware.hh
@@ -53,7 +53,7 @@ struct Hardware
ucoo::Uart dev_uart, zb_uart;
#ifdef TARGET_stm32
ucoo::UsbStreamControl usb_control;
- ucoo::UsbStream usb;
+ ucoo::UsbStream usb, zb_usb_avrisp;
ucoo::I2cHard main_i2c;
#else
ucoo::HostStream usb;
@@ -87,6 +87,8 @@ struct Hardware
Hardware ();
// Wait until next cycle.
void wait ();
+ // Handle zb programmation.
+ void zb_handle ();
};
#endif // hardware_hh