bitcraze / crazyflie-lib-python

Python library to communicate with Crazyflie
Other
262 stars 895 forks source link

Fix bootloader version check #484

Closed ataffanel closed 1 month ago

ataffanel commented 1 month ago

When flashing a new firmware release, the bootloader version check was not able to recognize that 2024.2.0 was the same version as 2024.2. This caused the bootloader and softdevice to be flashed even when not needed.

This PR fixes the version comparison by using packaging.version to do the version comparison.