Skip to content

Commit f43789e

Browse files
author
jysholar
committed
Jira-560, getInterruptStatus(...) should return type of bool
1 parent 212dae5 commit f43789e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: libraries/CurieIMU/src/CurieIMU.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ bool CurieIMUClass::interruptsEnabled(int feature)
15041504
}
15051505
}
15061506

1507-
int CurieIMUClass::getInterruptStatus(int feature)
1507+
bool CurieIMUClass::getInterruptStatus(int feature)
15081508
{
15091509
switch (feature) {
15101510
case CURIE_IMU_FREEFALL:

Diff for: libraries/CurieIMU/src/CurieIMU.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class CurieIMUClass : public BMI160Class {
180180
void noInterrupts(int feature);
181181
bool interruptsEnabled(int feature);
182182

183-
int getInterruptStatus(int feature);
183+
bool getInterruptStatus(int feature);
184184

185185
CurieIMUStepMode getStepDetectionMode();
186186
void setStepDetectionMode(int mode);

0 commit comments

Comments
 (0)