mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
rtlplayground: de-__gptrput()-call in read_reg_timer()
This commit is contained in:
+1
-1
@@ -688,7 +688,7 @@ void cpy_4(__xdata uint8_t dest[], __xdata uint8_t source[])
|
||||
}
|
||||
|
||||
|
||||
void read_reg_timer(uint32_t * tmr)
|
||||
void read_reg_timer(__xdata uint32_t * tmr)
|
||||
{
|
||||
uint8_t * val = (uint8_t *)tmr;
|
||||
SFR_REG_ADDR_U16 = RTL837X_REG_SEC_COUNTER;
|
||||
|
||||
Reference in New Issue
Block a user