mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
eeproom
This commit is contained in:
parent
6e35fb8ea1
commit
3a3dd52161
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ void EEPROM_ReadBuffer(uint32_t Address, void *pBuffer, uint8_t Size) {
|
|||
I2C_Stop();
|
||||
} else{
|
||||
I2C_Start();
|
||||
uint8_t P0 = (StartAddr / 0x10000) << 1;
|
||||
uint8_t P0 = (Address / 0x10000) << 1;
|
||||
|
||||
I2C_Write(0xA4|P0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue