Skip to content

Commit b67759b

Browse files
committed
GetSystemTick func name.
1 parent ab5ccec commit b67759b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/c-main-generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ void CiMainGenerator::WriteUnpackBody(const CiExpr_t* sgs)
512512

513513
fwriter->AppendLine(StrPrint("#ifdef %s", fdesc->usemon_def.c_str()));
514514
fwriter->AppendLine(StrPrint(" _m->mon1.dlc_error = (dlc_ < %s_DLC);", sgs->msg.Name.c_str()));
515-
fwriter->AppendLine(" _m->mon1.last_cycle = GetSysTick();");
515+
fwriter->AppendLine(" _m->mon1.last_cycle = GetSystemTick();");
516516
fwriter->AppendLine(" _m->mon1.frame_cnt++;", 2);
517517

518518
if (sgs->msg.RollSig != nullptr)

0 commit comments

Comments
 (0)