File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
targets/TARGET_Realtek/TARGET_AMEBA
sdk/soc/realtek/8195a/fwlib Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ typedef enum {
169
169
DA_1 = (PORT_U <<4 |1 ),
170
170
171
171
// Not connected
172
- NC = (uint32_t )0xFFFFFFFF ,
172
+ NC = (int )0xFFFFFFFF ,
173
173
174
174
// Generic signals namings
175
175
/* LED1~4 are defined as alias of GPIO pins, they are not the LEDs on board*/
Original file line number Diff line number Diff line change @@ -324,10 +324,9 @@ typedef uint32_t I2C_ERR_TYPE;
324
324
typedef uint32_t * PI2C_ERR_TYPE ;
325
325
326
326
// I2C Time Out type
327
- enum _I2C_TIMEOUT_TYPE_ {
328
- I2C_TIMEOOUT_DISABLE = 0x00 ,
329
- I2C_TIMEOOUT_ENDLESS = 0xFFFFFFFF ,
330
- };
327
+ #define I2C_TIMEOOUT_DISABLE 0x00
328
+ #define I2C_TIMEOOUT_ENDLESS 0xFFFFFFFF
329
+
331
330
typedef uint32_t I2C_TIMEOUT_TYPE ;
332
331
typedef uint32_t * PI2C_TIMEOUT_TYPE ;
333
332
You can’t perform that action at this time.
0 commit comments