♻️ Encapsulate PID in class (#24389)
This commit is contained in:
1 parent
678955949f
commit
e4f85e8fbc
13 files changed
+219
-301
No files matched your search
@@ -48,7 +48,7 @@ void Buzzer::tone(const uint16_t duration, const uint16_t frequency/*=0*/) {
|
||||
if (!ui.sound_on) return;
|
||||
while (buffer.isFull()) {
|
||||
tick();
|
||||
thermalManager.manage_heater();
|
||||
thermalManager.task();
|
||||
}
|
||||
tone_t tone = { duration, frequency };
|
||||
buffer.enqueue(tone);
|
||||
|
||||
Reference in new issue
Block a user