lpcmanager
Clone
Summary
Browse
Changes
Graph
Add LPCModbus.py to LPCMannager extensions, replacing vanilla beremiz modbus feature entry
revamp
2018-05-22, Edouard Tisserant
5bcb2395d45b
Add LPCModbus.py to LPCMannager extensions, replacing vanilla beremiz modbus feature entry
#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);