summaryrefslogtreecommitdiff
path: root/n
diff options
context:
space:
mode:
authordufourj2007-05-16 23:09:17 +0000
committerdufourj2007-05-16 23:09:17 +0000
commitd909156f9c876d37b2905206371aa424edf64646 (patch)
tree9e32b770a43daed6edd6537a15bf6ac708680d8c /n
parentbe282c274f1c8ab97ab1e1c43ec8ccde0fdf0c16 (diff)
* Sharp:
- add new sharp configuration (two); - start the implementation for calling sharp analyse function.
Diffstat (limited to 'n')
-rw-r--r--n/es-2007/src/main.c1
-rw-r--r--n/es-2007/src/sharp.h7
2 files changed, 4 insertions, 4 deletions
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