This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to cellular power on: not having a PWR_ON pin not an error. (#1192)
The static function modulePwrOnPinControl() in u_cell_pwr.c was constructed such that it would return an error if nothing is connected to a cellular module's PWR_ON pin: not having a connection to PWR_ON is perfectly valid (this is the case when a module is driven from a Windows machine that has no concept of GPIOs), hence the function is updated to return success (and do nothing) if there is no PWR_ON pin.
- Loading branch information