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