From 8fee9f5701ffdcc17e1f0f2453d495fe849d1fe2 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 23 Jan 2021 20:43:14 +0800
Subject: [PATCH] Add lightd code, auto light can work by infrared and relay now

---
 modules/c/ds18b20.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/c/ds18b20.c b/modules/c/ds18b20.c
index efb0025..43da548 100644
--- a/modules/c/ds18b20.c
+++ b/modules/c/ds18b20.c
@@ -32,7 +32,7 @@
                 return 1;
         }
 
-        printf("DS19B20 get temperature: %f ℃\n", temp);
+        printf("DS18B20 get temperature: %f ℃\n", temp);
         return 0;
 }
 

--
Gitblit v1.9.1