mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
I2C: Silence compiler warning, de-magic values.
This commit is contained in:
1 parent
1557a7cf3c
commit
ce11790a0d
2 files changed
+6
-3
No files matched your search
@@ -128,6 +128,8 @@
|
||||
#define RTL837X_REG_I2C_OUT 0x0424
|
||||
#define RTL837X_REG_I2C_SCL_SHIFT 5
|
||||
#define RTL837X_REG_I2C_SDA_SHIFT 2
|
||||
#define RTL837X_REG_I2C_SCL_MASK 0x3
|
||||
#define RTL837X_REG_I2C_SDA_MASK 0x7
|
||||
|
||||
/*
|
||||
* NIC Related registers
|
||||
|
||||
Reference in new issue
Block a user