summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-03-01 21:32:19 +0000
committerrebecca <ubq323@ubq323.website>2026-03-01 21:32:19 +0000
commitc8afdb4d2d20c6fa8c0eeb8cd85bf3b0649c155f (patch)
treea977fd4bdbbafd6b71bc781a285e771f787473a9
parente6ea2b6c7705167f78ed1b2fc6f4b5dd443abeeb (diff)
radio
-rw-r--r--radio.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/radio.lua b/radio.lua
index 10fc431..3de1195 100644
--- a/radio.lua
+++ b/radio.lua
@@ -7,7 +7,7 @@ assert(radio and speaker, "aaa")
radio.setFrequency(channel)
-local channel_format = string.rep(48000,"b")
+local channel_format = string.rep("b",48000)
while true do
local _,_,data = os.pullEvent"radio_message"
assert(#data == 48000,"weird format")