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.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/n/es-2006/src/main.c b/n/es-2006/src/main.c
index c65fd55..68fffa8 100644
--- a/n/es-2006/src/main.c
+++ b/n/es-2006/src/main.c
@@ -35,7 +35,6 @@
#include "sniff_rvb.h" /* RVB sensors analysis */
#include "timer_1.h" /* timer/counter 1 */
#include "others.h" /* define game color mode + jack + frontal sensor */
-#include "sensor_eeprom.c"
#include "barillet.h"
#include "servo_motor.h"
@@ -79,13 +78,6 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
sensor_rvb_stat_enable[compt] = sensor_rvb_stats[compt] =
args[2];
break;
- /* Set threshold for the differents colors */
- case c ('s', 9):
- sniff_rvb_set_threshold
- (args[0], v8_to_v16 (args[1], args[2]),
- v8_to_v16 (args[3], args[4]), v8_to_v16 (args[5], args[6]),
- v8_to_v16 (args[7], args[8]));
- break;
/* Set current color as reference */
case c ('r', 3):
temp_16b = v8_to_v16 (args[0], args[1]);
@@ -105,14 +97,6 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
case c ('c', 0 ):
proto_send1b('c', others_selectcoul());
break;
- /* Load sniff values from eeprom */
- case c ('l', 0):
- sensor_eeprom_read_params ();
- break;
- /* saVe sniff values from eeprom */
- case c ('v', 0):
- sensor_eeprom_write_params ();
- break;
/* Communication with the servo motor */
case c ('m', 2):
servo_motor_set_pos (args[0], args[1]);