only:docs

This commit is contained in:
rusefillc 2025-03-06 20:56:42 -05:00
parent b697cfba58
commit 25f439a6cc
2 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void processCanRxMessage(const size_t busIndex, const CANRxFrame& msg, efitick_t
void registerCanListener(CanListener& listener);
void registerCanSensor(CanSensorBase& sensor);
class CanWrite final : public PeriodicController<512> {
class CanWrite final : public PeriodicController</*TStackSize*/512> {
public:
CanWrite();
void PeriodicTask(efitick_t nowNt) override;

View File

@ -30,6 +30,7 @@ PUBLIC_API_WEAK bool boardEnableSendWidebandInfo() { return true; }
static uint16_t m_cycleCount = 0;
// this is invoked at CAN_CYCLE_FREQ frequency
void CanWrite::PeriodicTask(efitick_t nowNt) {
UNUSED(nowNt);
CanCycle cycle(m_cycleCount);