Skip to content

Commit

Permalink
Fixing type
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-rogers committed Sep 10, 2024
1 parent e1a7551 commit 08ac166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsd_epd_nominal.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void jsd_epd_nominal_process(jsd_t* self, uint16_t slave_id) {

unsigned int controlword_uint = (unsigned int)self->slave_states[slave_id].epd_nominal.rxpdo.controlword;
WARNING("Bits of rxpdo controlword:\n");
for(int bit=0;bit<(sizeof(unsigned int) * 8); bit++)
for(long unsigned int bit=0;bit<(sizeof(unsigned int) * 8); bit++)
{
WARNING("%i ", controlword_uint & 0x01);
controlword_uint = controlword_uint >> 1;
Expand Down

0 comments on commit 08ac166

Please sign in to comment.