summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")