Fixed type casting

This commit is contained in:
George Zogopoulos 2024-12-17 15:40:00 +01:00
parent adf6a2c9c8
commit 892e4a805b
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function uint16_value(hbyte, lbyte)
end end
function read_uart() function read_uart()
local n_avail = uart:available() local n_avail = uart:available():toint()
-- Discard up to BUFFER_LEN bytes. -- Discard up to BUFFER_LEN bytes.
-- These are stale data. -- These are stale data.