earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.01k stars 418 forks source link

On Timer::once execution, delete the alarm_id #2245

Closed earlephilhower closed 3 months ago

earlephilhower commented 3 months ago

A Timer is not active after the alarm fires once, so clear the alarm ID so we know we're not running.