refactor: USB HAL conversion + USB lib update (#4207)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
co-authored by
raphaelcoeffic
Richard Li
parent
a68ad817d7
commit
c9334ebda3
@@ -31,6 +31,7 @@
|
||||
#include "hal/storage.h"
|
||||
#include "hal/watchdog_driver.h"
|
||||
#include "hal/abnormal_reboot.h"
|
||||
#include "hal/usb_driver.h"
|
||||
|
||||
#include "timers_driver.h"
|
||||
|
||||
@@ -84,7 +85,9 @@ safetych_t safetyCh[MAX_OUTPUT_CHANNELS];
|
||||
// __DMA for the MSC_BOT_Data member
|
||||
union ReusableBuffer reusableBuffer __DMA;
|
||||
|
||||
#if !defined(SIMU)
|
||||
uint8_t* MSC_BOT_Data = reusableBuffer.MSC_BOT_Data;
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG_LATENCY)
|
||||
uint8_t latencyToggleSwitch = 0;
|
||||
|
||||
Reference in New Issue
Block a user