From d909156f9c876d37b2905206371aa424edf64646 Mon Sep 17 00:00:00 2001 From: dufourj Date: Wed, 16 May 2007 23:09:17 +0000 Subject: * Sharp: - add new sharp configuration (two); - start the implementation for calling sharp analyse function. --- n/es-2007/src/main.c | 1 + n/es-2007/src/sharp.h | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'n') diff --git a/n/es-2007/src/main.c b/n/es-2007/src/main.c index bc83269..5c457c8 100644 --- a/n/es-2007/src/main.c +++ b/n/es-2007/src/main.c @@ -53,6 +53,7 @@ uint8_t sniff_ball_stat_enable, sniff_ball_stats; /* Config and statistics for SHarps */ uint8_t sharp_stat_enable[SHARP_NUMBER], sharp_stat_freq[SHARP_NUMBER]; uint8_t sharp_enable[SHARP_NUMBER], sharp_enable_freq[SHARP_NUMBER]; +uint8_t sharp_analyse[SHARP_NUMBER], sharp_analyse_freq[SHARP_NUMBER]; /* Stats for colour selection and jack */ uint8_t others_jackcolor_stat_enable, others_jackcolor_stats; diff --git a/n/es-2007/src/sharp.h b/n/es-2007/src/sharp.h index e5f1a58..ec76ed1 100644 --- a/n/es-2007/src/sharp.h +++ b/n/es-2007/src/sharp.h @@ -29,13 +29,12 @@ #include "common.h" /** Sharps positions - * ADC1 -> Rear ball - * ADC2 -> Front - * ADC3 -> Front + * ADC1 -> Front right + * ADC2 -> Front left */ /** Number of sharps. */ -#define SHARP_NUMBER 3 +#define SHARP_NUMBER 2 /** Something in front of the sharp */ #define SHARP_OBSTACLE 1 -- cgit v1.2.3