From 333a89deed9a0f119853400d28f17f6796c8a4ee Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 18 Apr 2022 10:55:53 +0200 Subject: typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dcde07..d32cff9 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ sds011 = require("sds011") port = softuart.setup(9600, 2, 1) port:on("data", 10, uart_callback) -function uart_callback(data +function uart_callback(data) local pm25i, pm25d, pm10i, pm10d = sds011.parse_frame(data) if pm25i ~= nil then -- pm25i/pm10i contain the integer part (i.e., PM2.5 / PM10 value in µg/m³) -- cgit v1.2.3