mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 15:04:38 +08:00
holybro_durandal-v1: update cdcacm product id
This commit is contained in:
committed by
Daniel Agar
parent
16f53ec18d
commit
bbd37ada41
@@ -53,9 +53,9 @@ char *g_init = 0;
|
||||
#if defined(SERIAL_TRACE)
|
||||
int in = 0;
|
||||
int out = 0;
|
||||
// must be powere of 2 length
|
||||
// must be power of 2 length
|
||||
#define TRACE_SIZE 256
|
||||
#define TRACE_WRAP(f) (f) &=(TRACE_SIZE-1)
|
||||
#define TRACE_WRAP(f) ((f) &=(TRACE_SIZE-1))
|
||||
char in_trace[TRACE_SIZE];
|
||||
char out_trace[TRACE_SIZE];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user