summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config/sim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config/sim.h b/firmware/export/config/sim.h
index 1f545c5..1b69f6d 100644
--- a/firmware/export/config/sim.h
+++ b/firmware/export/config/sim.h
@@ -42,6 +42,13 @@
#define CONFIG_CHARGING CHARGING_MONITOR
#endif
+/*
+ * Effectively disable battery smoothing, our simulated charge/ discharge
+ * cycle is way too fast for it otherwise
+ */
+#undef BATT_AVE_SAMPLES
+#define BATT_AVE_SAMPLES 1
+
#undef CONFIG_USBOTG
#undef USB_HANDLED_BY_OF