summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/consts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/consts.h b/shared/consts.h
index b6be4a4..a083f61 100644
--- a/shared/consts.h
+++ b/shared/consts.h
@@ -56,10 +56,14 @@
/** battery voltage measurement sample count */
#define W2_BATTERY_SAMPLES 10
/** battery full voltage (millivolts) */
-#define W2_BATTERY_FULL 4500
+#define W2_BATTERY_FULL 5000
/** battery empty voltage (millivolts) */
-#define W2_BATTERY_EMPTY 3300
+#define W2_BATTERY_EMPTY 100
/** battery measurement interval (milliseconds) */
#define W2_BATTERY_MEAS_FREQ 10e3
/** battery low level percentage (target charging station) */
#define W2_BATTERY_PERCENTAGE_LOW 30
+
+/** arbitrary grid constants */
+#define W2_GRID_CROSSWALK_DISTANCE 400
+