This commit is contained in:
2025-12-12 15:57:59 -05:00
parent 8c1048698d
commit c80f0fed9a
2 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,5 @@
local speaker = peripheral.find("speaker")
local dfpwm = require("cc.audio.dfpwm")
local kernel = require("kernel")
local sounds = {
@@ -9,8 +7,7 @@ local sounds = {
}
local function initialize()
kernel.addSound("notification")
speaker = peripheral.find("speaker")
if not speaker then