rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
can_dash_ms.h File Reference

Functions

void canDashboardTS (CanCycle cycle)
 

Function Documentation

◆ canDashboardTS()

void canDashboardTS ( CanCycle  cycle)

Definition at line 117 of file can_dash_ms.cpp.

117 {
118 /* TODO: get from settings */
119 uint32_t baseId = 1512; /* 0x5e8 */
120
121 if (!cycle.isInterval(CI::_10ms)) {
122 return;
123 }
124
125 bool busIndex = 0;
126 transmitStruct<ms1512>(CanCategory::NBC, baseId + 0, false, busIndex);
127 transmitStruct<ms1513>(CanCategory::NBC, baseId + 1, false, busIndex);
128 transmitStruct<ms1514>(CanCategory::NBC, baseId + 2, false, busIndex);
129 transmitStruct<ms1515>(CanCategory::NBC, baseId + 3, false, busIndex);
130 transmitStruct<ms1516>(CanCategory::NBC, baseId + 4, false, busIndex);
131}
bool isInterval(CanInterval interval)
Definition can.h:90

Referenced by updateDash().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.