diff --git a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/main.cpp b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/main.cpp index 8f97dd0b58..7911fae11b 100644 --- a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/main.cpp +++ b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/main.cpp @@ -7,11 +7,6 @@ #include #include -#define ENFORCE(x) \ - if ((x) == 0) { \ - while (true) { board::setErrorLed(true); } \ - } - namespace { @@ -50,6 +45,8 @@ int main() { init(); + getNode().setStatusOk(); + while (true) { const int res = getNode().spin(uavcan::MonotonicDuration::fromMSec(25));