We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba1a03 commit 57cbdd0Copy full SHA for 57cbdd0
src/chip/CH422G.cpp
@@ -38,10 +38,10 @@
38
#define REG_WR_OC_DEFAULT_VAL (0x0FUL)
39
#define REG_WR_IO_DEFAULT_VAL (0xFFUL)
40
#define REG_OUT_DEFAULT_VAL ((REG_WR_OC_DEFAULT_VAL << 8) | REG_WR_IO_DEFAULT_VAL)
41
-#define REG_DIR_DEFAULT_VAL (0xFFUL)
+#define REG_DIR_DEFAULT_VAL (0xFFFUL)
42
43
#define REG_WR_SET_BIT_IO_OE (1 << 0)
44
-#define REG_WR_SET_BIT_OD_EN (1 << 4)
+#define REG_WR_SET_BIT_OD_EN (1 << 2)
45
46
/**
47
* @brief Device Structure Type
0 commit comments