mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-11-20 15:52:12 +01:00
refactor: centralize shade GPIO initialization and board guards
Use one initialization method for saved configuration and JSON updates. Reject the complete output assignment when any pin belongs to integrated board hardware, retaining separate UI validation and runtime output guards. Exercise production GPIO initialization on generic and Plus profiles.
This commit is contained in:
parent
a5afcfacea
commit
d4c13d5134
6 changed files with 41 additions and 14 deletions
|
|
@ -152,6 +152,7 @@ class SomfyShade : public SomfyRemote, public ShadeSettings, private MotorLink,
|
|||
void commit();
|
||||
void clear();
|
||||
int8_t transformPosition(float fpos);
|
||||
void initGPIOs();
|
||||
void setGPIOs();
|
||||
void triggerGPIOs(somfy_frame_t &frame);
|
||||
bool usesPin(uint8_t pin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue