Skip to content

Commit

Permalink
fixed uint8_t type
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 13, 2025
1 parent 3cc1bc5 commit 09087a8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/PPUC.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,28 @@ struct PPUCSwitchState {
};

struct PPUCSwitch {
u_int8_t number;
uint8_t number;
std::string description;

PPUCSwitch(u_int8_t n, const std::string& d)
PPUCSwitch(uint8_t n, const std::string& d)
: number(n), description(d) {}
};

struct PPUCCoil {
u_int8_t type;
u_int8_t number;
uint8_t type;
uint8_t number;
std::string description;

PPUCCoil(u_int8_t t, u_int8_t n,const std::string& d)
PPUCCoil(uint8_t t, uint8_t n,const std::string& d)
: type(t), number(n), description(d) {}
};

struct PPUCLamp {
u_int8_t type;
u_int8_t number;
uint8_t type;
uint8_t number;
std::string description;

PPUCLamp(u_int8_t t, u_int8_t n, const std::string& d)
PPUCLamp(uint8_t t, uint8_t n, const std::string& d)
: type(t), number(n), description(d) {}
};

Expand Down

0 comments on commit 09087a8

Please sign in to comment.