From 1bca6715379267b02a164a804d5f6dab3c6f18cb Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 19 Apr 2019 06:07:40 -0400 Subject: [PATCH] USB not working for F4 or F767 #764 --- firmware/hw_layer/smart_gpio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/hw_layer/smart_gpio.cpp b/firmware/hw_layer/smart_gpio.cpp index bf8c904e74..6f4ed39622 100644 --- a/firmware/hw_layer/smart_gpio.cpp +++ b/firmware/hw_layer/smart_gpio.cpp @@ -166,6 +166,8 @@ void initSmartGpio() { ret = tle8888_add(0, &tle8888_cfg); efiAssertVoid(OBD_PCM_Processor_Fault, ret == TLE8888_PIN_1, "tle8888"); + } else { + ret = 0; } if (ret < 0) #endif /* (BOARD_TLE6240_COUNT > 0) */