summaryrefslogtreecommitdiff
path: root/n/es-2006/src/main.c
diff options
context:
space:
mode:
authordufourj2006-05-17 23:35:25 +0000
committerdufourj2006-05-17 23:35:25 +0000
commit03b39369582d6f4335f4a04f10b7ca8d5ff2b132 (patch)
treece10410fa9097ea4e689415e8ee2f29ae3857fa5 /n/es-2006/src/main.c
parent1b6e49045708b69ecb19bc80083c8197187b8b1e (diff)
ES (RVB) :
- correction de l'interruption lente (penser à lire les commentaires des .h) ; - diminution du nombre d'IC ignorés avant la véritable acquisition.
Diffstat (limited to 'n/es-2006/src/main.c')
-rw-r--r--n/es-2006/src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/n/es-2006/src/main.c b/n/es-2006/src/main.c
index 68fffa8..22e7d3d 100644
--- a/n/es-2006/src/main.c
+++ b/n/es-2006/src/main.c
@@ -63,8 +63,9 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
/*** RVB ***/
/* RVB sensors configuration */
- case c ('p', 4):
- sensor_rvb_config (args[0], args[1], args[2]);
+ case c ('p', 3):
+ temp_16b = v8_to_v16 (args[1], args[2]);
+ sensor_rvb_config (args[0], temp_16b);
break;
/* RVB sniff configuration */
case c ('x', 1):