forked from xuos/xiuos
fix xiuos/transform.h code standard problem
This commit is contained in:
parent
3a84b9942b
commit
63ec04cf6e
|
@ -32,7 +32,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define OPE_INT 0x0000
|
#define OPE_INT 0x0000
|
||||||
#define OPE_CFG 0x0001
|
#define OPE_CFG 0x0001
|
||||||
|
|
||||||
#define NAME_NUM_MAX 32
|
#define NAME_NUM_MAX 32
|
||||||
|
@ -41,13 +41,13 @@ extern "C" {
|
||||||
#define GPIO_LOW 0x00
|
#define GPIO_LOW 0x00
|
||||||
#define GPIO_HIGH 0x01
|
#define GPIO_HIGH 0x01
|
||||||
|
|
||||||
#define GPIO_CFG_OUTPUT 0x00
|
#define GPIO_CFG_OUTPUT 0x00
|
||||||
#define GPIO_CFG_INPUT 0x01
|
#define GPIO_CFG_INPUT 0x01
|
||||||
#define GPIO_CFG_INPUT_PULLUP 0x02
|
#define GPIO_CFG_INPUT_PULLUP 0x02
|
||||||
#define GPIO_CFG_INPUT_PULLDOWN 0x03
|
#define GPIO_CFG_INPUT_PULLDOWN 0x03
|
||||||
#define GPIO_CFG_OUTPUT_OD 0x04
|
#define GPIO_CFG_OUTPUT_OD 0x04
|
||||||
|
|
||||||
#define GPIO_CONFIG_MODE 0xffffffff
|
#define GPIO_CONFIG_MODE 0xffffffff
|
||||||
|
|
||||||
/********************SERIAL define*******************/
|
/********************SERIAL define*******************/
|
||||||
#define BAUD_RATE_2400 2400
|
#define BAUD_RATE_2400 2400
|
||||||
|
|
Loading…
Reference in New Issue