Skip to content

Commit dee87ce

Browse files
committed
rename rfdStorage to telemLinkStorage
1 parent 8aa87ba commit dee87ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stm32h753iitx/boardfiles/model/src/drivers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ alignas(MotorControl) static uint8_t steeringMotorStorage[sizeof(MotorControl)];
3434

3535
alignas(GPS) static uint8_t gpsStorage[sizeof(GPS)];
3636
alignas(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)];
3838
alignas(IMU) static uint8_t imuStorage[sizeof(IMU)];
3939
alignas(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

stm32l552xx/boardfiles/model/src/drivers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ alignas(MotorControl) static uint8_t steeringMotorStorage[sizeof(MotorControl)];
3131

3232
alignas(GPS) static uint8_t gpsStorage[sizeof(GPS)];
3333
alignas(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)];
3535
alignas(IMU) static uint8_t imuStorage[sizeof(IMU)];
3636
alignas(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

0 commit comments

Comments
 (0)