update gencode
This commit is contained in:
@@ -9,15 +9,19 @@
|
||||
#endif
|
||||
|
||||
#ifndef PWM_CHANEL_NUM
|
||||
#define PWM_CHANEL_NUM (20)
|
||||
#define PWM_CHANEL_NUM (12)
|
||||
#endif
|
||||
|
||||
#ifndef RPM_CHANNEL_NUM
|
||||
#define RPM_CHANNEL_NUM (0)
|
||||
#endif
|
||||
|
||||
#ifndef SBUS_ENABLE
|
||||
#define SBUS_ENABLE (1)
|
||||
#define SBUS_ENABLE (0)
|
||||
#endif
|
||||
|
||||
#ifndef CAN1_ENABLE
|
||||
#define CAN1_ENABLE (1)
|
||||
#define CAN1_ENABLE (0)
|
||||
#endif
|
||||
|
||||
#ifndef CAN3_ENABLE
|
||||
@@ -31,7 +35,7 @@
|
||||
#define UART2_RX_ENABLE (0)
|
||||
#endif
|
||||
#ifndef UART4_RX_ENABLE
|
||||
#define UART4_RX_ENABLE (512)
|
||||
#define UART4_RX_ENABLE (0)
|
||||
#endif
|
||||
#ifndef UART6_RX_ENABLE
|
||||
#define UART6_RX_ENABLE (0)
|
||||
@@ -40,7 +44,7 @@
|
||||
#define UART7_RX_ENABLE (512)
|
||||
#endif
|
||||
#ifndef UART8_RX_ENABLE
|
||||
#define UART8_RX_ENABLE (512)
|
||||
#define UART8_RX_ENABLE (0)
|
||||
#endif
|
||||
|
||||
#ifndef UART1_TX_ENABLE
|
||||
@@ -59,10 +63,10 @@
|
||||
#define UART7_TX_ENABLE (256)
|
||||
#endif
|
||||
#ifndef UART8_TX_ENABLE
|
||||
#define UART8_TX_ENABLE (256)
|
||||
#define UART8_TX_ENABLE (0)
|
||||
#endif
|
||||
|
||||
#define UART1_BAUDRATE (115200)
|
||||
#define UART1_BAUDRATE (460800)
|
||||
#define UART1_WORDLENGTH (UART_WORDLENGTH_8B)
|
||||
#define UART1_STOPBITS (UART_STOPBITS_1)
|
||||
#define UART1_PARITY (UART_PARITY_NONE)
|
||||
@@ -92,7 +96,7 @@
|
||||
#define UART7_PARITY (UART_PARITY_NONE)
|
||||
#define UART7_MODE (UART_MODE_TX_RX)
|
||||
|
||||
#define UART8_BAUDRATE (9600)
|
||||
#define UART8_BAUDRATE (115200)
|
||||
#define UART8_WORDLENGTH (UART_WORDLENGTH_8B)
|
||||
#define UART8_STOPBITS (UART_STOPBITS_1)
|
||||
#define UART8_PARITY (UART_PARITY_NONE)
|
||||
|
||||
Reference in New Issue
Block a user