Save 64 bytes RAM per thermistor by moving median_buffer to AHB0.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 20 Dec 2014 08:26:49 +0000 (10:26 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 20 Dec 2014 08:26:49 +0000 (10:26 +0200)
commit13bf1f9b844359b3c7ee3c255b34fce4aa5bc70a
treeee28719c638d90c3e5038b0e7e2f66383b779aaa
parent7143d4224e333ea2c934a82395a049f3d29aec0e
Save 64 bytes RAM per thermistor by moving median_buffer to AHB0.

Also we only need one median_buffer (total), because each thermistor
uses it only when quick_median() is running. Actual data is stored
in the queue. So this patch reuses the same buffer for all thermistors.
src/modules/tools/temperaturecontrol/Thermistor.cpp
src/modules/tools/temperaturecontrol/Thermistor.h