Add enums to header file

This commit is contained in:
RowanC 2026-05-29 02:25:10 +01:00
parent 8512e5d8e1
commit 88cafc694c
2 changed files with 226 additions and 4 deletions

View file

@ -524,7 +524,7 @@ nrai_can_mkframe_AI2VCU_Steer( struct nrai_can_ai_write * s, struct can_frame *
f->len = 2;
tmp = s->STEER_REQUEST;
tmp = BLAMP(tmp,-210,210);
tmp = CLAMP(tmp,-210,210);
f->data[0] = (tmp & 0x00FF);
f->data[1] = (((uint16_t)tmp >> 8) & 0x00FF);