File tree Expand file tree Collapse file tree 8 files changed +10
-8
lines changed
Expand file tree Collapse file tree 8 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ static constexpr uint8_t {{ msg.macro_name }}_DLC = {{ msg.dlc }};
1919static constexpr uint32_t {{ msg.macro_name }}_PERIOD_MS = {{ msg.period }};
2020
2121typedef struct {
22+ uint32_t last_rx;
23+ // Begin signal defs
2224{% for sig in msg .signals %}
2325 {{ sig.c_type }} {{ sig.name }};
2426{% endfor %}
25- uint32_t last_rx;
27+ // End signal defs
2628 bool stale;
2729} {{ msg.name }}_data_t;
2830
Original file line number Diff line number Diff line change 2626{% endif %}
2727
2828// System Version: {{ context.version }}
29- static constexpr uint64_t GIT_HASH = 0x{{ context.version }};
29+ static constexpr uint32_t GIT_HASH = 0x{{ context.version }};
3030
3131// Peripheral Configuration
3232static constexpr uint8_t NUM_CAN_PERIPHERALS = {{ peripherals|length }};
Original file line number Diff line number Diff line change 491491 "signals" : [
492492 {
493493 "sig_name" : " git_hash" ,
494- "type" : " uint64_t " ,
494+ "type" : " uint32_t " ,
495495 "sig_desc" : " int representation of git short hash"
496496 }
497497 ],
Original file line number Diff line number Diff line change 6868 "signals" : [
6969 {
7070 "sig_name" : " git_hash" ,
71- "type" : " uint64_t " ,
71+ "type" : " uint32_t " ,
7272 "sig_desc" : " int representation of git short hash"
7373 }
7474 ],
Original file line number Diff line number Diff line change 285285 "signals" : [
286286 {
287287 "sig_name" : " git_hash" ,
288- "type" : " uint64_t " ,
288+ "type" : " uint32_t " ,
289289 "sig_desc" : " int representation of git short hash"
290290 }
291291 ],
Original file line number Diff line number Diff line change 643643 "signals" : [
644644 {
645645 "sig_name" : " git_hash" ,
646- "type" : " uint64_t " ,
646+ "type" : " uint32_t " ,
647647 "sig_desc" : " int representation of git short hash"
648648 }
649649 ],
Original file line number Diff line number Diff line change 232232 "signals" : [
233233 {
234234 "sig_name" : " git_hash" ,
235- "type" : " uint64_t " ,
235+ "type" : " uint32_t " ,
236236 "sig_desc" : " int representation of git short hash"
237237 }
238238 ],
Original file line number Diff line number Diff line change 289289 "signals" : [
290290 {
291291 "sig_name" : " git_hash" ,
292- "type" : " uint64_t " ,
292+ "type" : " uint32_t " ,
293293 "sig_desc" : " int representation of git short hash"
294294 }
295295 ],
You can’t perform that action at this time.
0 commit comments