summaryrefslogtreecommitdiff
path: root/radio.lua
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-03-01 21:35:07 +0000
committerrebecca <ubq323@ubq323.website>2026-03-01 21:35:07 +0000
commit5843c9af491d35e61cb80a66e461849a2a4392d5 (patch)
tree9026af8d725583653b737113226b709d40032d17 /radio.lua
parent9affda0d0d93a0f34c035c94bc088479cd09ef45 (diff)
radio
Diffstat (limited to 'radio.lua')
-rw-r--r--radio.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/radio.lua b/radio.lua
index c8ea9e8..bd1a4d9 100644
--- a/radio.lua
+++ b/radio.lua
@@ -10,7 +10,8 @@ radio.setFrequency(channel)
local channel_format = string.rep("b",48000)
while true do
local _,_,data = os.pullEvent"radio_message"
- assert(#data == 48000,"weird format")
+ -- assert(#data == 48000,"weird format")
+ print(#data)
speaker.playAudio({string.unpack(channel_format,data)})
end