File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ uint8_t Pkp::getKeyState(uint8_t keyIndex) {
110
110
* @param inputIndex The index of the wired input (0 to PKP_MAX_WIRED_IN_AMOUNT - 1).
111
111
* @return The state of the specified wired input, or 0 if the index is out of range.
112
112
*/
113
- uint8_t Pkp::getWiredInput (uint8_t inputIndex, bool analog ) {
113
+ uint8_t Pkp::getWiredInput (uint8_t inputIndex) {
114
114
if (inputIndex > PKP_MAX_WIRED_IN_AMOUNT - 1 ) {
115
115
return 0 ;
116
116
}
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ typedef uint8_t (*CanMsgTxCallback)(const struct can_frame& txMsg);
36
36
class Pkp {
37
37
public:
38
38
// ------ Public Type Definitions ------
39
- enum keypadCanStatus_e : uint8_t {
40
- KPS_FRESH = 0 ,
41
- KPS_RX_WITHIN_LAST_SECOND = 1 ,
42
- KPS_NO_RX_WITHIN_LAST_SECOND = 3
39
+ enum keypadCanStatus_e : int8_t {
40
+ KPS_FRESH = - 1 ,
41
+ KPS_RX_WITHIN_LAST_SECOND = 0 ,
42
+ KPS_NO_RX_WITHIN_LAST_SECOND = 1
43
43
};
44
44
45
45
enum keyMode_e : uint8_t {
You can’t perform that action at this time.
0 commit comments