EdgeTX / edgetx-sdcard

SD Card contents and images for EdgeTX
130 stars 42 forks source link

LibGUI: onUpdate() backward compatibility #154

Closed frankiearzu closed 5 months ago

frankiearzu commented 5 months ago

Fixes #153 Fix LibGUI to be backward compatible when calling the method "update()" who was renamed to "onUpdate()". Now works both ways.

It was braking SoarETX, but we really don't know if other scripts using LibGui could have the same problem.

image

pfeerick commented 5 months ago

For reference, it was changed in https://github.com/EdgeTX/edgetx-sdcard/pull/123, so was a relatively recent (minor) API breaking change ;)

Thanks for updating both copies of the library. :)