Skip to content

Commit

Permalink
silly message sizing mistake :]
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoOhR committed Aug 26, 2024
1 parent efe7a58 commit 5a45478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Application/Relay/can_relay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace application{
CircularQueue<DataPayload> queue):
can_bus_(can_bus),
queue_(queue){
messageSize = queue_.GetSize();
messageSize = 29;
}

void Can_Relay::bitSet(float value, uint8_t* byteArray) {
Expand Down
4 changes: 2 additions & 2 deletions Application/Relay/can_relay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ namespace application{

uint8_t kEnd_transmission_[8] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};

static constexpr uint8_t kRows = 10;
static constexpr uint8_t kRows = 15;

bool transmission_ended_ = false;

uint8_t message[10][8];
uint8_t message[kRows][8] = {0};
};
}
#endif /* DFR_LIBRARIES_APPLICATION_RELAY_CAN_RELAY_HPP_ */

0 comments on commit 5a45478

Please sign in to comment.