File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
stm32h753iitx/boardfiles/model/src
stm32l552xx/boardfiles/model/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ alignas(MotorControl) static uint8_t steeringMotorStorage[sizeof(MotorControl)];
3434
3535alignas (GPS) static uint8_t gpsStorage[sizeof (GPS)];
3636alignas (CRSFReceiver) static uint8_t rcStorage[sizeof (CRSFReceiver)];
37- alignas (RFD) static uint8_t rfdStorage [sizeof (RFD)];
37+ alignas (RFD) static uint8_t telemLinkStorage [sizeof (RFD)];
3838alignas (IMU) static uint8_t imuStorage[sizeof (IMU)];
3939alignas (PowerModule) static uint8_t pmStorage[sizeof (PowerModule)];
4040
@@ -115,7 +115,7 @@ void initDrivers()
115115 // Peripherals
116116 gpsHandle = new (&gpsStorage) GPS (&huart2);
117117 rcHandle = new (&rcStorage) CRSFReceiver (&huart4);
118- telemLinkHandle = new (&rfdStorage ) RFD (&huart1);
118+ telemLinkHandle = new (&telemLinkStorage ) RFD (&huart1);
119119 imuHandle = new (&imuStorage) IMU (&hspi1, GPIOC, GPIO_PIN_5);
120120 pmHandle = new (&pmStorage) PowerModule (&hi2c1);
121121
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ alignas(MotorControl) static uint8_t steeringMotorStorage[sizeof(MotorControl)];
3131
3232alignas (GPS) static uint8_t gpsStorage[sizeof (GPS)];
3333alignas (CRSFReceiver) static uint8_t crsfStorage[sizeof (CRSFReceiver)];
34- alignas (RFD) static uint8_t rfdStorage [sizeof (RFD)];
34+ alignas (RFD) static uint8_t telemLinkStorage [sizeof (RFD)];
3535alignas (IMU) static uint8_t imuStorage[sizeof (IMU)];
3636alignas (PowerModule) static uint8_t pmStorage[sizeof (PowerModule)];
3737
@@ -112,7 +112,7 @@ void initDrivers()
112112 // Peripherals
113113 gpsHandle = new (&gpsStorage) GPS (&huart2);
114114 rcHandle = new (&crsfStorage) CRSFReceiver (&huart4);
115- telemLinkHandle = new (&rfdStorage ) RFD (&huart3);
115+ telemLinkHandle = new (&telemLinkStorage ) RFD (&huart3);
116116 imuHandle = new (&imuStorage) IMU (&hspi2, GPIOD, GPIO_PIN_0);
117117 pmHandle = new (&pmStorage) PowerModule (&hi2c1);
118118
You can’t perform that action at this time.
0 commit comments