From 740498573183242fe4a02d35bba9949f15583e8f Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Sun, 12 Jun 2022 22:45:42 +0200 Subject: [PATCH] Remove unused variable --- v10/uSD.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0