Skip to content

Commit

Permalink
I learned Demorgans Law this summer (#1341)
Browse files Browse the repository at this point in the history
### Changelist 
Demorgans ghost came and haunted my code. I forgot about demorgans when
i wrote this months ago at 2 am
### Testing Done
We get data now
  • Loading branch information
larakawasme authored Sep 20, 2024
1 parent 135cff8 commit b46aaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/quadruna/VC/src/io/io_telemMessage.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool io_telemMessage_pushMsgtoQueue(CanMsg *rx_msg)
uint8_t proto_buffer[QUEUE_SIZE] = { 0 };

// filter messages, rn for faults and warnings and bms (to verify working when running normally)
if (rx_msg->std_id != 111 || rx_msg->std_id != 205 || rx_msg->std_id != 206 || rx_msg->std_id != 207 ||
if (rx_msg->std_id != 111 && rx_msg->std_id != 205 && rx_msg->std_id != 206 && rx_msg->std_id != 207 &&
rx_msg->std_id != 208)
{
return false;
Expand Down

0 comments on commit b46aaca

Please sign in to comment.