Repair a verified behavior in earlephilhower/arduino-pico.
Repair a verified behavior in earlephilhower/arduino-pico.: a task in OriGent-RL-Data (Harbor dataset). The RP2040 Arduino Tone implementation is not safe when its public API is used concurrently by both processor cores. It maintains shared state that maps each active tone pin to its allocated PIO…
The task
The RP2040 Arduino Tone implementation is not safe when its public API is used concurrently by both processor cores. It maintains shared state that maps each active tone pin to its allocated PIO state machine, but concurrent calls can currently enter the code that looks up, inserts, removes, or prepares entries in…
Part of henryen/OriGent-RL-Data.