motion.arduino.ICM42670P icon indicating copy to clipboard operation
motion.arduino.ICM42670P copied to clipboard

startWakeOnMotion only configures interrupt on INT1, but accepts intpin

Open kjs-eir opened this issue 9 months ago • 3 comments
trafficstars

The ICM42670::startWakeOnMotion(uint8_t intpin, ICM42670_irq_handler handler) seems hardcoded to only configure interrupts on INT1. Shouldn't it include if statement or similar so if intpin == 2 it will configure INT_SOURCE3 and INT_SOURCE4 with inv_imu_set_config_int2 instead?

kjs-eir avatar Jan 30 '25 10:01 kjs-eir