Update power measurement examples

Update power measurement examples to the state in which they were used as test cases in thesis
This commit is contained in:
2025-01-28 20:22:38 +01:00
parent d042c2a437
commit eb4859c31d
4 changed files with 12 additions and 14 deletions

View File

@ -1,10 +1,10 @@
#include "Dezibot.h"
#include "esp_pm.h"
#include "esp_pm.h"
#include "esp_task_wdt.h"
Dezibot dezibot;
const uint16_t cycleTime = 2e4; //20000 ms = 20 s
const uint16_t cycleTime = 20e3;
esp_pm_lock_handle_t cpuFreqLock;
esp_pm_lock_handle_t apbFreqLock;