Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: huawei grid charger: prevent deadlock on mutex
the huawei grid charger's loop() uses the private method _setParameter() to update PSU settings. the loop() already holds the mutex, so _setParamater() must not try to lock the mutex again. move the lock guard to the public setParameter() method, which resolves the issue.
- Loading branch information