t0mg/wordclock

Crashes when compiled with recent version of IDE

Closed this issue · 1 comments

When executed, code crashes in Iot::updateClockFromParams_()

Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Fix is to add return value; to setSensorSensitivity() in Display.h. I have submitted a pull request.

  // Sets the sensor sentivity of the brightness controller.
  int setSensorSentivity(int value)
  {
    _brightnessController.setSensorSensitivity(value);
    return value;
  }

Thanks for the PR :)