From 7bbf13d2b49c66e155eea35b51630d3a117a769a Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Wed, 6 Nov 2024 14:50:50 -0500 Subject: [PATCH] Update bbn_m5atomS3_lite_DS18B20.ino --- bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino b/bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino index a0ffec9..b4a8876 100644 --- a/bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino +++ b/bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino @@ -39,7 +39,7 @@ void addressToStr(DeviceAddress deviceAddress, char str[17]) { str[2 * i] = a[0]; str[2 * i + 1] = a[1]; } - str[17] = (char)0; + str[16] = (char)0; } void loop() {