mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
S.BUS test: Fix code style
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
#include "../../src/systemcmds/tests/tests.h"
|
#include "../../src/systemcmds/tests/tests.h"
|
||||||
#include <drivers/drv_hrt.h>
|
#include <drivers/drv_hrt.h>
|
||||||
|
// Enable S.BUS parser output
|
||||||
|
#define SBUS_DEBUG
|
||||||
#include <rc/sbus.h>
|
#include <rc/sbus.h>
|
||||||
#include <systemlib/err.h>
|
#include <systemlib/err.h>
|
||||||
#include <systemlib/mixer/mixer.h>
|
#include <systemlib/mixer/mixer.h>
|
||||||
@@ -72,6 +74,7 @@ TEST(SBUS2Test, SBUS2)
|
|||||||
if (result) {
|
if (result) {
|
||||||
//warnx("decoded packet");
|
//warnx("decoded packet");
|
||||||
}
|
}
|
||||||
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (last_drop != (sbus_frame_drops + sbus_frame_resets)) {
|
if (last_drop != (sbus_frame_drops + sbus_frame_resets)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user