Add main cylcle counter and increase filter alpha for PT1000 to 0.01

This commit is contained in:
2021-08-19 21:25:04 +02:00
parent ffb544e21d
commit a802b5c1b5
6 changed files with 126 additions and 4 deletions

View File

@@ -48,6 +48,7 @@
#include <reflow-controller/updater/updater.h>
#include <reflow-controller/temp-profile/temp-profile-executer.h>
#include <reflow-controller/settings/spi-eeprom.h>
#include <reflow-controller/main-cycle-counter.h>
static void setup_nvic_priorities(void)
{
@@ -248,6 +249,8 @@ int main(void)
shell_handle = shell_init(write_shell_callback);
shell_print_motd(shell_handle);
main_cycle_counter_init();
while (1) {
if (systick_ticks_have_passed(quarter_sec_timestamp, 250)) {
@@ -285,7 +288,7 @@ int main(void)
__WFI();
else
__NOP();
main_loop_iter_count++;
main_cycle_counter_inc();
}
return 0;