mirror of
https://github.com/okalachev/flix.git
synced 2026-03-29 19:43:31 +00:00
Make motor parameters apply without reboot
Add callback to parameter definition to call after parameter is changed.
This commit is contained in:
@@ -165,6 +165,7 @@ void delay(uint32_t ms) {
|
||||
|
||||
bool ledcAttach(uint8_t pin, uint32_t freq, uint8_t resolution) { return true; }
|
||||
bool ledcWrite(uint8_t pin, uint32_t duty) { return true; }
|
||||
uint32_t ledcChangeFrequency(uint8_t pin, uint32_t freq, uint8_t resolution) { return freq; }
|
||||
|
||||
unsigned long __micros;
|
||||
unsigned long __resetTime = 0;
|
||||
|
||||
Reference in New Issue
Block a user