From 62b8eadbfc2a5b31b0ffb5f16f758c998add3e50 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 19 Jun 2014 23:24:45 +0200 Subject: [PATCH] Remove unused variable --- src/omv/sccb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/omv/sccb.c b/src/omv/sccb.c index 6243ed00a..5a2491f0a 100644 --- a/src/omv/sccb.c +++ b/src/omv/sccb.c @@ -62,7 +62,6 @@ uint8_t SCCB_Write(uint8_t addr, uint8_t data) uint8_t SCCB_Read(uint8_t addr) { uint8_t data=0; - HAL_StatusTypeDef st; while (HAL_I2C_GetState(&I2CHandle) != HAL_I2C_STATE_READY); if (HAL_I2C_Master_Transmit(&I2CHandle, SLAVE_ADDR, &addr, 1, TIMEOUT) != HAL_OK) {