fix: keil c51 compile error

This commit is contained in:
IOsetting 2022-01-05 14:13:24 +08:00
parent bdd2237074
commit 76f4fc2426
2 changed files with 1 additions and 2 deletions

View File

@ -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();

View File

@ -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;