Replace Safe functions with legacy.PinOutput

This commit is contained in:
Yurii Soldak
2025-09-21 10:04:20 +02:00
parent c6d83b783f
commit 453ff96a66
16 changed files with 112 additions and 108 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ type Device struct {
// New returns a new buzzer driver given which pin to use
func New(pin drivers.PinOutput) Device {
return Device{
set: drivers.SafePinOutput(pin).Set,
set: pin.Set,
High: false,
BPM: 96.0,
}