Skip to content
Prev Previous commit
Next Next commit
Revert a small change to formatting.
  • Loading branch information
calumroy committed Aug 7, 2024
commit fbcc74156fe6f4416bdeb2aa792cf4991b068d78
2 changes: 1 addition & 1 deletion src/codegen/c-main-generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ void CiMainGenerator::PrintPackCommonText(const std::string& arrtxt, const CiExp
sgs->msg.CsmSig->Name.c_str(), arrtxt.c_str(), sgs->msg.Name.c_str(),
sgs->msg.Name.c_str(), sgs->msg.CsmMethod.c_str(), sgs->msg.CsmOp);

fwriter.Append(" %s[%d] |= (uint8_t) (%s);", arrtxt.c_str(), sgs->msg.CsmByteNum, sgs->msg.CsmToByteExpr.c_str());
fwriter.Append(" %s[%d] |= (uint8_t) ( %s );", arrtxt.c_str(), sgs->msg.CsmByteNum, sgs->msg.CsmToByteExpr.c_str());

fwriter.Append("#endif // %s", fdesc->gen.usecsm_def.c_str());
fwriter.Append();
Expand Down