Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 committed Jan 11, 2024
1 parent 2bd8f10 commit e34e040
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6985,12 +6985,12 @@ void esp_pwm(int32_t value, uint32 freq, uint32_t channel) {
pwmpin[channel] = -value;
pinMode(pwmpin[channel], OUTPUT);
analogWriteFreq(freq);
analogWrite(pwmpin[channel], 0);
AnalogWrite(pwmpin[channel], 0);
} else {
if (value > 1023) {
value = 1023;
}
analogWrite(pwmpin[channel],value);
AnalogWrite(pwmpin[channel], value);
}
#endif // ESP32
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
xdrv_121_plugins.ino - Prove of concept for flash plugins
xdrv_123_plugins.ino - Prove of concept for flash plugins
Copyright (C) 2021 Gerhard Mutz
Expand Down Expand Up @@ -30,7 +30,7 @@ to doo:

#ifdef USE_BINPLUGINS

#define XDRV_121 121
#define XDRV_123 123

//#define EXECUTE_FROM_BINARY
//#define SAVE_DRIVER_TO_FILE
Expand Down Expand Up @@ -1566,7 +1566,7 @@ int32_t flash_bindir(uint8_t sel, char *path) {
* Interface
\*********************************************************************************************/

bool Xdrv121(uint32_t function) {
bool Xdrv123(uint32_t function) {
bool result = false;

switch (function) {
Expand Down

0 comments on commit e34e040

Please sign in to comment.