mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-09-02 15:02:51 +08:00
Fix all compiler warnings.
- Many times we need help the compiler to reason about variable type or define.
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ void phy_show(uint8_t port) __banked;
|
||||
void phy_reset(uint8_t port) __banked;
|
||||
void rtl8224_read_reg_u16(uint16_t reg) __banked;
|
||||
void rtl8224_write_reg_u16(uint16_t reg, uint16_t val) __banked;
|
||||
void rtl8224_sds_write(uint16_t sds_cmd, uint16_t val) __banked;
|
||||
void rtl8224_sds_write(uint16_t sds_cmd, __xdata uint16_t val) __banked;
|
||||
void phy_config_8261(uint8_t phy, uint8_t sds) __banked;
|
||||
|
||||
#define RTL8224_SDS_WRITE(sds_id, page, reg, v) uint16_t _sdscmd = (uint16_t)(sds_id & 0x01) | (1 << 14) | (1 << 15); \
|
||||
|
||||
Reference in New Issue
Block a user