Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
alamedyang committed Aug 3, 2024
2 parents d459ac1 + 416200d commit af07fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/GameEngine/src/modules/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void send_serial_message_with_length(
}
for (size_t i = 0; i < pages; i++) {
size_t offset = i * page_size_max;
size_t page_size = (message_length - offset) > page_size_max
size_t page_size = (message_length - offset) >= page_size_max
? page_size_max
: remainder;
// This may seem super wacky, but unless I call either `debug_print`
Expand Down

0 comments on commit af07fe4

Please sign in to comment.