Skip to content

Commit 3a7a96d

Browse files
committed
started writing enqueue function
1 parent 5d72408 commit 3a7a96d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/interfaces/src/DrivebrainInterface.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ void DrivebrainInterface::handle_enqueue_coolant_temp_CAN_data() {
173173
}
174174

175175
void DrivebrainInterface::handle_enqueue_aero_CAN_data() {
176-
;
176+
AERO_PRESSURE_SENSOR_11_t aero11_msg;
177+
aero11_msg.aero_channel_0_ro = HYTECH_aero_channel_0_ro_toS(_aero_data.aero_pressure_sensor_1.aero_channel_0);
178+
CAN_util::enqueue_msg(&aero11_msg, &Pack_AERO_PRESSURE_SENSOR_11_hytech, VCRCANInterfaceImpl::CAN1_txBuffer);
179+
177180
}
178181

179182
void DrivebrainInterface::handle_send_ethernet_data(const hytech_msgs_VCRData_s &data) {

0 commit comments

Comments
 (0)