From 6558c927350a3fbfe8b168f89590572146f7b2c2 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sat, 23 Jan 2021 23:07:52 +0800 Subject: [PATCH] tsl2561_i2c.c change double to float --- 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