fix: keil c51 compile error
This commit is contained in:
parent
bdd2237074
commit
76f4fc2426
@ -27,7 +27,6 @@ uint8_t I2C_MasterRecv(void)
|
||||
|
||||
uint8_t I2C_Write(uint8_t devAddr, uint8_t memAddr, uint8_t *dat, uint16_t size)
|
||||
{
|
||||
uint16_t i;
|
||||
I2C_MasterStart();
|
||||
I2C_MasterSendData(devAddr & 0xFE);
|
||||
I2C_MasterRxAck();
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "fw_tim.h"
|
||||
#include "fw_sys.h"
|
||||
|
||||
__CODE static char hexTable[16] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
||||
__CODE char hexTable[16] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
||||
__IDATA char wptr, rptr, UART1_RxBuffer[UART_RX_BUFF_SIZE];
|
||||
__BIT busy;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user