Replace {GET,SET}_USB_BUFFER_UINT8 with {Get,Set}UsbRxBufferUint8
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
void UsbCommand_Reenumerate(void)
|
||||
{
|
||||
Wormhole.magicNumber = WORMHOLE_MAGIC_NUMBER;
|
||||
Wormhole.enumerationMode = GET_USB_BUFFER_UINT8(1);
|
||||
Wormhole.timeoutMs = GET_USB_BUFFER_UINT32(2);
|
||||
Wormhole.enumerationMode = GetUsbRxBufferUint8(1);
|
||||
Wormhole.timeoutMs = GetUsbRxBufferUint32(2);
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user