uart_esc: do an additional advertise

If this is not done, the aDSP crashes, not quite sure why but it's gotta
be something about the context of the callback.
This commit is contained in:
Julian Oes
2016-03-24 14:18:49 +01:00
committed by Lorenz Meier
parent 647526407a
commit e50f3ad4f2
+3
View File
@@ -368,6 +368,9 @@ void task_main(int argc, char *argv[])
return; return;
} }
// TODO XXX: this is needed otherwise we crash in the callback context.
_rc_pub = orb_advertise(ORB_ID(input_rc), &_rc);
// Main loop // Main loop
while (!_task_should_exit) { while (!_task_should_exit) {