Interface: moved bootloader_check_and_update() to after info_init().
This change prevents computing the CRC of the interface twice.
@@ -198,8 +198,6 @@ void main_task(void * arg)
// Initialize settings - required for asserts to work
config_init();
- // Update bootloader if it is out of date
- bootloader_check_and_update();
// Get a reference to this task
main_task_id = osThreadGetId();
// leds
@@ -238,6 +236,8 @@ void main_task(void * arg)
// Update versions and IDs
info_init();
+ // Update bootloader if it is out of date
+ bootloader_check_and_update();
// USB
usbd_init();
#ifdef DRAG_N_DROP_SUPPORT
