lpcmanager
Clone
Summary
Browse
Changes
Graph
GOT6: Implementation of RETAIN with double buffer in RAM, using non-real-time SPI driver for transfer to single buffer NVRAM
2021-10-05, Edouard Tisserant
9ee9470870eb
GOT6: Implementation of RETAIN with double buffer in RAM, using non-real-time SPI driver for transfer to single buffer NVRAM
#ifdef ONBOARD_I2C
if(onboardbusfd!=-1)
close(onboardbusfd);
#endif /* ONBOARD_I2C */
#ifdef CAN0_EN_GPIO
gpio_set_pin_value(CAN0_EN_dev, 1);
gpio_close(CAN0_EN_dev);
#endif /* CAN0_EN_GPIO */
#ifdef CAN1_EN_GPIO
gpio_set_pin_value(CAN1_EN_dev, 1);
gpio_close(CAN1_EN_dev);
#endif /* CAN1_EN_GPIO */
gpio_set_pin_value(RUN_LED_dev, 1);
gpio_close(RUN_LED_dev);