Git
Wiki
Site
projects
/
lpc82x
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cde49
)
Display error number on error
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 15 Sep 2016 03:15:00 +0000
(
05:15
+0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 15 Sep 2016 03:15:00 +0000
(
05:15
+0200)
apps/base/i2c_light/main.c
patch
|
blob
|
history
diff --git
a/apps/base/i2c_light/main.c
b/apps/base/i2c_light/main.c
index
15e44b9
..
c942009
100644
(file)
--- a/
apps/base/i2c_light/main.c
+++ b/
apps/base/i2c_light/main.c
@@
-91,7
+91,7
@@
void lux_display(int uart_num)
ret = tsl256x_sensor_read(&tsl256x_sensor, &comb, &ir, &lux);
if (ret != 0) {
- uprintf(uart_num, "Lux read error
\n"
);
+ uprintf(uart_num, "Lux read error
: %d\n", ret
);
} else {
uprintf(uart_num, "Lux: %d (Comb: 0x%04x, IR: 0x%04x)\n", lux, comb, ir);
}
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@scialys.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
© Copyright 2012-2020
Techno-Innov
Ce site n'utilise pas de cookies, désolé pour les gourmands !