File tree Expand file tree Collapse file tree 3 files changed +0
-7
lines changed
libraries/CurieIMU/examples Expand file tree Collapse file tree 3 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,6 @@ void setup() {
3838 CurieIMU.setDetectionDuration (CURIE_IMU_SHOCK, CURIE_IMU_TAP_SHOCK_DURATION_50MS); // 50ms
3939 CurieIMU.enableInterrupt (CURIE_IMU_SHOCK, true );
4040
41- /* Enable Interrupts Notifications */
42- CurieIMU.setIntEnabled (true );
43-
4441 Serial.println (" IMU initialisation complete, waiting for events..." );
4542}
4643
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ void setup() {
5353 // step event handler:
5454 CurieIMU.attachInterrupt (eventCallback);
5555 CurieIMU.enableInterrupt (CURIE_IMU_STEP, true ); // turn on step detection
56- CurieIMU.setIntEnabled (true ); // enable interrupts
5756
5857 Serial.println (" IMU initialisation complete, waiting for events..." );
5958 }
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ void setup() {
4343 // Enable Double-Tap detection
4444 CurieIMU.enableInterrupt (CURIE_IMU_DOUBLE_TAP, true );
4545
46- // Enable Interrupts Notifications
47- CurieIMU.setIntEnabled (true );
48-
4946 Serial.println (" IMU initialisation complete, waiting for events..." );
5047}
5148
You can’t perform that action at this time.
0 commit comments