I've not got this working yet, but this looked like a typo?
I got this when I tried to include in my code:
SparkIntervalTimer/SparkIntervalTimer.cpp: In member function 'void IntervalTimer::start_SIT(uint16_t, bool)':
SparkIntervalTimer/SparkIntervalTimer.cpp:178:10: warning: statement has no effect [-Wunused-value]
scale == uSec; // Default to microseconds
^
Thanks for the catch @leighghunt. The code never gets there since "default" is a catch-all type error trap. I will make sure the fix also gets into the next Photon-compatible version.
I've not got this working yet, but this looked like a typo?
I got this when I tried to include in my code: