I added a conditional to the onPowerEvent callback (accelerometer.cpp::687) to skip the wake-up configuration when in validation mode. I also added a log message to indicate that this is happening. Let me know if you have any concerns.
Also, I formatted the file to ensure correct indentations. While this seemed like a good idea, it did make the changes on github appear somewhat convoluted. Sorry about that!
I added a conditional to the onPowerEvent callback (accelerometer.cpp::687) to skip the wake-up configuration when in validation mode. I also added a log message to indicate that this is happening. Let me know if you have any concerns.