Closed masagrator closed 1 year ago
https://github.com/WerWolv/libtesla/pull/59 breaks support for older FWs. This PR is fixing this. Braces are added because otherwise example will throw dangling-else warning
The else branch probably also needs braces to work properly, no?
No, it doesn't throw any warning in this shape. I can change it if you want.
Still added them just in case and to match styling
Thank you!
https://github.com/WerWolv/libtesla/pull/59 breaks support for older FWs. This PR is fixing this. Braces are added because otherwise example will throw dangling-else warning