lpcmanager
Clone
Summary
Browse
Changes
Graph
LPCBus: Device bus init was not repeatable across stop/start.
2023-09-07, Edouard Tisserant
5ccb381c307c
LPCBus: Device bus init was not repeatable across stop/start.
In case init happens multiple time, explicit POSIX initialization calls has to be used instead of static initializers.
#ifndef GOT_H
#define GOT_H
// GPIO_1_31 = 32 + 31 = 63
#define RUN_LED_GPIO 63
#define LPCBUS_DEVICES_PORT "/dev/ttyAPP1"
#endif