From 9e649dd24799cd8d64058eab3782d1af9f7fed4c Mon Sep 17 00:00:00 2001 From: Guo Wenxue <guowenxue@gmail.com> Date: Wed, 24 Oct 2018 19:56:21 +0800 Subject: [PATCH] Add 2.Socket folder, which implement send temperature report in 1 second by TLV protocal to server --- modules/c/ds18b20.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/modules/c/ds18b20.c b/modules/c/ds18b20.c index d170de1..447bf28 100644 --- a/modules/c/ds18b20.c +++ b/modules/c/ds18b20.c @@ -76,6 +76,7 @@ /* find and get the chipset SN filename */ strcpy(chip,direntp->d_name); found = 1; + break; } } closedir(dirp); -- Gitblit v1.9.1