EPM: fixed build

This commit is contained in:
Pavel Kirienko 2016-06-26 21:23:34 +03:00 committed by Andrew Tridgell
parent 8af6af004d
commit fccdcf50c1

View File

@ -80,9 +80,11 @@ void AP_EPM::init()
return;
}
#ifdef UAVCAN_NODE_FILE
_uavcan_fd = open(UAVCAN_NODE_FILE, 0);
// http://ardupilot.org/dev/docs/learning-ardupilot-uarts-and-the-console.html
::printf("EPM: UAVCAN fd %d\n", _uavcan_fd);
#endif
// initialise the EPM to the neutral position
neutral();