mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
holybro_durandal-v1: update cdcacm product id
This commit is contained in:
committed by
Daniel Agar
parent
16f53ec18d
commit
bbd37ada41
@@ -45,7 +45,7 @@ CONFIG_BOARD_RESET_ON_ASSERT=2
|
|||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
CONFIG_C99_BOOL8=y
|
CONFIG_C99_BOOL8=y
|
||||||
CONFIG_CDCACM=y
|
CONFIG_CDCACM=y
|
||||||
CONFIG_CDCACM_PRODUCTID=0x008b
|
CONFIG_CDCACM_PRODUCTID=0x004b
|
||||||
CONFIG_CDCACM_PRODUCTSTR="PX4 DurandalV1"
|
CONFIG_CDCACM_PRODUCTSTR="PX4 DurandalV1"
|
||||||
CONFIG_CDCACM_RXBUFSIZE=600
|
CONFIG_CDCACM_RXBUFSIZE=600
|
||||||
CONFIG_CDCACM_TXBUFSIZE=12000
|
CONFIG_CDCACM_TXBUFSIZE=12000
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ char *g_init = 0;
|
|||||||
#if defined(SERIAL_TRACE)
|
#if defined(SERIAL_TRACE)
|
||||||
int in = 0;
|
int in = 0;
|
||||||
int out = 0;
|
int out = 0;
|
||||||
// must be powere of 2 length
|
// must be power of 2 length
|
||||||
#define TRACE_SIZE 256
|
#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 in_trace[TRACE_SIZE];
|
||||||
char out_trace[TRACE_SIZE];
|
char out_trace[TRACE_SIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user