Fix ESP32 servos, platformio.ini, etc. (#14247)
This commit is contained in:
committed by
Scott Lahteine
parent
a373d3f557
commit
9439fab7fd
@@ -193,6 +193,9 @@ void HAL_adc_start_conversion(uint8_t adc_pin) {
|
||||
}
|
||||
|
||||
void analogWrite(int pin, int value) {
|
||||
|
||||
if (!PWM_PIN(pin)) return;
|
||||
|
||||
static int cnt_channel = 1,
|
||||
pin_to_channel[40] = {};
|
||||
if (pin_to_channel[pin] == 0) {
|
||||
|
||||
Reference in New Issue
Block a user