mirror of https://github.com/arendst/Tasmota.git
Revert changes for next core
Revert changes for next core as PWM doesn't work in staged version as it used to do.
This commit is contained in:
parent
4902915408
commit
fed3118c1c
|
@ -18,9 +18,9 @@
|
|||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#include <core_version.h>
|
||||
#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
#warning **** Tasmota is using v2.4.0 timer.c as planned ****
|
||||
//#include <core_version.h>
|
||||
//#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#warning **** Tasmota is using v2.4.0 timer.c as planned ****
|
||||
|
||||
#include "wiring_private.h"
|
||||
#include "pins_arduino.h"
|
||||
|
@ -106,4 +106,4 @@ void ICACHE_RAM_ATTR timer0_detachInterrupt() {
|
|||
ETS_CCOMPARE0_DISABLE();
|
||||
}
|
||||
|
||||
#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#include <core_version.h>
|
||||
#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
#warning **** Tasmota is using v2.4.0 wiring_digital.c as planned ****
|
||||
//#include <core_version.h>
|
||||
//#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#warning **** Tasmota is using v2.4.0 wiring_digital.c as planned ****
|
||||
|
||||
#define ARDUINO_MAIN
|
||||
#include "wiring_private.h"
|
||||
|
@ -212,4 +212,4 @@ extern int digitalRead(uint8_t pin) __attribute__ ((weak, alias("__digitalRead")
|
|||
extern void attachInterrupt(uint8_t pin, voidFuncPtr handler, int mode) __attribute__ ((weak, alias("__attachInterrupt")));
|
||||
extern void detachInterrupt(uint8_t pin) __attribute__ ((weak, alias("__detachInterrupt")));
|
||||
|
||||
#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#include <core_version.h>
|
||||
#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
#warning **** Tasmota is using v2.4.0 wiring_pwm.c as planned ****
|
||||
//#include <core_version.h>
|
||||
//#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#warning **** Tasmota is using v2.4.0 wiring_pwm.c as planned ****
|
||||
|
||||
#include "wiring_private.h"
|
||||
#include "pins_arduino.h"
|
||||
|
@ -224,4 +224,4 @@ extern void analogWrite(uint8_t pin, int val) __attribute__ ((weak, alias("__ana
|
|||
extern void analogWriteFreq(uint32_t freq) __attribute__ ((weak, alias("__analogWriteFreq")));
|
||||
extern void analogWriteRange(uint32_t range) __attribute__ ((weak, alias("__analogWriteRange")));
|
||||
|
||||
#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
//#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
|
|
Loading…
Reference in New Issue