mcu: Delay reset signaling for usb to canbus bridge nodes
An mcu device acting as an "mcu bridge" should only be reset after other normal devices are reset - otherwise the bridge wont be able to pass along the reset message to the downstream mcus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "board/pgm.h" // PROGMEM
|
||||
#include "board/usb_cdc_ep.h" // USB_CDC_EP_BULK_IN
|
||||
#include "byteorder.h" // cpu_to_le16
|
||||
#include "command.h" // DECL_CONSTANT
|
||||
#include "generic/usbstd.h" // struct usb_device_descriptor
|
||||
#include "sched.h" // sched_wake_task
|
||||
#include "usb_cdc.h" // usb_notify_ep0
|
||||
@@ -125,6 +126,8 @@ enum {
|
||||
HS_TX_LOCAL = 4,
|
||||
};
|
||||
|
||||
DECL_CONSTANT("CANBUS_BRIDGE", 1);
|
||||
|
||||
void
|
||||
canbus_notify_tx(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user