We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5ccec commit b67759bCopy full SHA for b67759b
src/codegen/c-main-generator.cpp
@@ -512,7 +512,7 @@ void CiMainGenerator::WriteUnpackBody(const CiExpr_t* sgs)
512
513
fwriter->AppendLine(StrPrint("#ifdef %s", fdesc->usemon_def.c_str()));
514
fwriter->AppendLine(StrPrint(" _m->mon1.dlc_error = (dlc_ < %s_DLC);", sgs->msg.Name.c_str()));
515
- fwriter->AppendLine(" _m->mon1.last_cycle = GetSysTick();");
+ fwriter->AppendLine(" _m->mon1.last_cycle = GetSystemTick();");
516
fwriter->AppendLine(" _m->mon1.frame_cnt++;", 2);
517
518
if (sgs->msg.RollSig != nullptr)
0 commit comments