Git
Wiki
Site
projects
/
soft
/
lpc122x
/
examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b597c
)
Fix, temperature is signed, may be below 0°C
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 11 Jun 2020 19:07:08 +0000
(21:07 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:14:24 +0000
(17:14 +0100)
test_sensor_env/main.c
patch
|
blob
|
history
diff --git
a/test_sensor_env/main.c
b/test_sensor_env/main.c
index
53adfb5
..
646b4a9
100644
(file)
--- a/
test_sensor_env/main.c
+++ b/
test_sensor_env/main.c
@@
-126,7
+126,8
@@
void bme_config(int uart_num)
void bme_display(int uart_num)
{
- uint32_t pressure = 0, temp = 0;
+ uint32_t pressure = 0;
+ int32_t temp = 0;
uint16_t humidity = 0;
int ret = 0;
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !