summaryrefslogtreecommitdiff
path: root/n/es-2006/src/main.c
diff options
context:
space:
mode:
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):