aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-11-14 19:28:32 -0700
committerSelene ToyKeeper2019-11-14 19:28:32 -0700
commit69788279c4bac4508d363634e680abf999e6d631 (patch)
tree8a8e6b20295ff9c70fe36133a3ddaa7e4d778c22
parentadded a lowpass filter for battery voltage measurements (diff)
downloadanduril-69788279c4bac4508d363634e680abf999e6d631.tar.gz
anduril-69788279c4bac4508d363634e680abf999e6d631.tar.bz2
anduril-69788279c4bac4508d363634e680abf999e6d631.zip
oops, put voltage lowpass on the wrong D4S
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d4s.h3
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d4sv2.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/spaghetti-monster/anduril/cfg-emisar-d4s.h b/spaghetti-monster/anduril/cfg-emisar-d4s.h
index a9ac5f0..6fe95a6 100644
--- a/spaghetti-monster/anduril/cfg-emisar-d4s.h
+++ b/spaghetti-monster/anduril/cfg-emisar-d4s.h
@@ -47,6 +47,3 @@
#define THERMAL_UPDATE_SPEED 2
#define THERM_PREDICTION_STRENGTH 4
-// attiny1634 has enough space to smooth out voltage readings
-#define USE_VOLTAGE_LOWPASS
-
diff --git a/spaghetti-monster/anduril/cfg-emisar-d4sv2.h b/spaghetti-monster/anduril/cfg-emisar-d4sv2.h
index acc9101..c47e774 100644
--- a/spaghetti-monster/anduril/cfg-emisar-d4sv2.h
+++ b/spaghetti-monster/anduril/cfg-emisar-d4sv2.h
@@ -61,3 +61,7 @@
// seems relevant on attiny1634
#define THERM_CAL_OFFSET 5
+
+// attiny1634 has enough space to smooth out voltage readings
+#define USE_VOLTAGE_LOWPASS
+
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.