I2C: Silence compiler warning, de-magic values.

This commit is contained in:
René van Dorst committed 2026-09-20 20:31:43 +02:00
1 parent 1557a7cf3c
commit ce11790a0d
2 files changed
+6 -3

No files matched your search

+2
View File
@@ -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