From: Nathael Pajani Date: Sun, 12 Jun 2022 20:45:42 +0000 (+0200) Subject: Remove unused variable X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=740498573183242fe4a02d35bba9949f15583e8f;p=soft%2Flpc122x%2Fscialys Remove unused variable --- diff --git a/v10/uSD.c b/v10/uSD.c index 4a5b5bb..78f2bd2 100644 --- a/v10/uSD.c +++ b/v10/uSD.c @@ -119,7 +119,7 @@ static struct last_block_info last_block = { /* Find last log entry (last used uSD block) */ int scialys_uSD_logs_init(int uart) { - int idx = 0, ret = 0; + int ret = 0; /* First, check RAM from RTC to get last block used info */ ret = rtc_pcf85363a_read_ram(&rtc_conf, 0, (uint8_t*)&last_block, sizeof(struct last_block_info));