Skip to content

Commit 06eb831

Browse files
committed
Correct CNTL1 rim
1 parent d7c2154 commit 06eb831

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SparkFun_KX13X_regs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ typedef struct
265265
uint8_t fdm : 1; // Face-Down state (Z-)
266266
uint8_t upm : 1; // Up state (Y+)
267267
uint8_t dom : 1; // Down state (Y-)
268-
uint8_t rim : 2; // Right state (X+)
268+
uint8_t rim : 1; // Right state (X+)
269269
uint8_t lem : 1; // Left state (X-)
270270
uint8_t cotc : 1; // Command Test Control bit
271271
// The following bits control when an interrupt is generated

src/SparkFun_Qwiic_KX13X.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ bool QwDevKX13X::setPinMode(bool activeHigh, uint8_t pin)
640640
// the INT_REL register - clearInterrupt();
641641
//
642642
// Parameters:
643-
// latch - True enables latch behavior, false enables pulse behavior (default)
643+
// latch - False enables latch behavior, True enables pulse behavior (default)
644644
//
645645
bool QwDevKX13X::setLatchControl(bool pulsed, uint8_t pin)
646646
{

0 commit comments

Comments
 (0)