Skip to content

Commit

Permalink
Change baud_rate type to u32 for comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Jan 10, 2025
1 parent ebdd0fb commit b0ff1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ struct osdp_pd {
int idx; /* Offset into osdp->pd[] for this PD */
uint32_t flags; /* Used with: ISSET_FLAG, SET_FLAG, CLEAR_FLAG */

int baud_rate; /* Serial baud/bit rate */
uint32_t baud_rate; /* Serial baud/bit rate */
int address; /* PD address */
int seq_number; /* Current packet sequence number */
struct osdp_pd_id id; /* PD ID information (as received from app) */
Expand Down

0 comments on commit b0ff1f5

Please sign in to comment.