Hi,
So I had an ERA report for "Array Out Of Bounds Error" and the line it fell on was the Sensor.setEnabledSensors line of this method:
function disableSensors() { Position.enableLocationEvents(Position.LOCATION_DISABLE, method(:onPosition)); Sensor.setEnabledSensors([]); }
Which...
I thought it was good practice to disable sensors when you aren't using them, and I thought that was the way to do it?
Have I misread the docs? Am I doing things I shouldn't bother with?
Thanks,
G