From 558a36fdcd660a945b71085f2738d65160798d00 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Fri, 24 May 2024 01:18:10 +0200 Subject: byte_read: Returning false if no mode is selected --- FT245.c | 1 + 1 file changed, 1 insertion(+) diff --git a/FT245.c b/FT245.c index 0648c73..cac5aa8 100644 --- a/FT245.c +++ b/FT245.c @@ -831,6 +831,7 @@ static bool byte_read(ft245_t *ft245, uint8_t byte, uint8_t *value) return true; } #endif // (FT245_DRIVER_MODE_STATIC == 1) + return false; } static bool tx_word(ft245_t *ft245) -- cgit v1.2.1