Prevent creation of LightSensor outside of the module
This is a minor fix that prevents calling epic_light_sensor_stop
without prior calling of epic_light_sensor_run
.
This is possible now by merely having something like:
let _ = LightSensor;
This is a minor fix that prevents calling epic_light_sensor_stop
without prior calling of epic_light_sensor_run
.
This is possible now by merely having something like:
let _ = LightSensor;