diff --git a/src/fw_i2c.c b/src/fw_i2c.c index c1d000b..64fcc23 100644 --- a/src/fw_i2c.c +++ b/src/fw_i2c.c @@ -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(); diff --git a/src/fw_uart.c b/src/fw_uart.c index 3dfafd3..1519b51 100644 --- a/src/fw_uart.c +++ b/src/fw_uart.c @@ -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;