aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-10-06 00:35:08 -0600
committerSelene ToyKeeper2017-10-06 00:35:08 -0600
commit56316ceb551bc807fc1c20a2344a4b09e99e5c4c (patch)
treea1aa3d4a2713214eebd714d27a73c02929a19759 /spaghetti-monster
parentMade HOLD_TIMEOUT and RELEASE_TIMEOUT define-able in the UI code. (diff)
downloadanduril-56316ceb551bc807fc1c20a2344a4b09e99e5c4c.tar.gz
anduril-56316ceb551bc807fc1c20a2344a4b09e99e5c4c.tar.bz2
anduril-56316ceb551bc807fc1c20a2344a4b09e99e5c4c.zip
Updated more temperature bits to be 14.1 instead of 13.2.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/fsm-adc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/spaghetti-monster/fsm-adc.c b/spaghetti-monster/fsm-adc.c
index 5be3061..839fba8 100644
--- a/spaghetti-monster/fsm-adc.c
+++ b/spaghetti-monster/fsm-adc.c
@@ -151,10 +151,10 @@ ISR(ADC_vect) {
for(uint8_t i=0; i<NUM_THERMAL_VALUES; i++)
temperature_values[i] = temp;
for(uint8_t i=0; i<NUM_THERMAL_VALUES_HISTORY; i++)
- temperature_history[i] = temp<<2;
+ temperature_history[i] = temp<<1;
for(uint8_t i=0; i<NUM_THERMAL_PROJECTED_HISTORY; i++)
- projected_temperature_history[i] = temp<<2;
- temperature = temp<<2;
+ projected_temperature_history[i] = temp<<1;
+ temperature = temp<<1;
} else { // update our current temperature estimate
uint8_t i;
int16_t total=0;
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.