mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Revert "dd experimental ADE7953 (Shelly 2.5 and Shelly EM) reset on restart (#14261)"
This reverts commit efd4963eb2ed07b83dd1c312f3f8ba8759f4ece3.
This commit is contained in:
parent
efd4963eb2
commit
ce17266512
@ -4,9 +4,6 @@ All notable changes to this project will be documented in this file.
|
||||
## [Unreleased] - Development
|
||||
|
||||
## [2022.01.1]
|
||||
### Added
|
||||
- Experimental ADE7953 (Shelly 2.5 and Shelly EM) reset on restart (#14261)
|
||||
|
||||
### Changed
|
||||
- PubSubClient library from v2.8.12 to v2.8.13
|
||||
- From Semantic Versioning (SemVer) to Calendar Versioning (CalVer)
|
||||
|
@ -106,7 +106,6 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
|
||||
- PWM Dimmer two button support [#13993](https://github.com/arendst/Tasmota/issues/13993)
|
||||
- Device Group Send full status item [#14045](https://github.com/arendst/Tasmota/issues/14045)
|
||||
- Support for MAX7219 Dot Matrix displays [#14091](https://github.com/arendst/Tasmota/issues/14091)
|
||||
- Experimental ADE7953 (Shelly 2.5 and Shelly EM) reset on restart [#14261](https://github.com/arendst/Tasmota/issues/14261)
|
||||
- ESP32 support for TuyaMcu
|
||||
- ESP32 Berry features
|
||||
|
||||
|
@ -235,12 +235,6 @@ void Ade7953DrvInit(void)
|
||||
{
|
||||
if (PinUsed(GPIO_ADE7953_IRQ, GPIO_ANY)) { // Irq on GPIO16 is not supported...
|
||||
uint32_t pin_irq = Pin(GPIO_ADE7953_IRQ, GPIO_ANY);
|
||||
|
||||
pinMode(pin_irq, OUTPUT); // Reset pin ADE7953
|
||||
digitalWrite(pin_irq, 0);
|
||||
delay(1);
|
||||
digitalWrite(pin_irq, 1);
|
||||
|
||||
pinMode(pin_irq, INPUT); // Related to resetPins() - Must be set to input
|
||||
Ade7953.model = GetPin(pin_irq) - AGPIO(GPIO_ADE7953_IRQ); // 0 .. 1 ;
|
||||
delay(100); // Need 100mS to init ADE7953
|
||||
|
Loading…
x
Reference in New Issue
Block a user