fix: compiling errors

This commit is contained in:
Terrence
2025-09-12 15:55:55 +08:00
parent f79506d58b
commit 76c19a0f2d
7 changed files with 9 additions and 75 deletions

View File

@@ -5,8 +5,6 @@
#include "oscillator.h"
static const char* TAG = "Movements";
Otto::Otto() {
is_otto_resting_ = false;
for (int i = 0; i < SERVO_COUNT; i++) {

View File

@@ -6,12 +6,8 @@
#include <algorithm>
#include <cmath>
static const char* TAG = "Oscillator";
extern unsigned long IRAM_ATTR millis();
static ledc_channel_t next_free_channel = LEDC_CHANNEL_0;
Oscillator::Oscillator(int trim) {
trim_ = trim;
diff_limit_ = 0;