motion.arduino.ICM42670P
motion.arduino.ICM42670P copied to clipboard
startWakeOnMotion only configures interrupt on INT1, but accepts intpin
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?