Git
Wiki
Site
projects
/
soft
/
lpc82x
/
examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0ae6ab
)
Display error number on error
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 15 Sep 2016 03:15:13 +0000
(
05:15
+0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sat, 11 Feb 2023 04:06:55 +0000
(
05:06
+0100)
i2c_uv/main.c
patch
|
blob
|
history
diff --git
a/i2c_uv/main.c
b/i2c_uv/main.c
index
add6bee
..
3ac79f2
100644
(file)
--- a/
i2c_uv/main.c
+++ b/
i2c_uv/main.c
@@
-94,7
+94,7
@@
void uv_display(int uart_num)
ret = veml6070_sensor_read(&veml6070_sensor, &uv_raw);
if (ret != 0) {
- uprintf(uart_num, "UV read error
\n"
);
+ uprintf(uart_num, "UV read error
: %d\n", ret
);
} else {
uprintf(uart_num, "UV: 0x%04x\n", uv_raw);
}
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 !