lpcmanager
Clone
Summary
Browse
Changes
Graph
Reworked Firmware Update Dialog. Reboot is now proposed systematically after update. Fixed exception handling when updating, now progress dialog realy turns modal as expected when exception occurs.
revamp
2018-09-04, Edouard Tisserant
cacb76868d13
Reworked Firmware Update Dialog. Reboot is now proposed systematically after update. Fixed exception handling when updating, now progress dialog realy turns modal as expected when exception occurs.
#ifdef ONBOARD_I2C
if(onboardbusfd!=-1)
close(onboardbusfd);
#endif /* ONBOARD_I2C */
#ifdef CAN0_EN_GPIO_0_21
gpio_set_pin_value(CAN0_EN_dev, 1);
gpio_close(CAN0_EN_dev);
#endif /* CAN0_EN_GPIO_0_21 */
#ifdef CAN1_EN_GPIO_0_17
gpio_set_pin_value(CAN1_EN_dev, 1);
gpio_close(CAN1_EN_dev);
#endif /* CAN1_EN_GPIO_0_17 */
gpio_set_pin_value(RUN_LED_dev, 1);
gpio_close(RUN_LED_dev);