From f57fcb140f91bcdfd03daf5b4be8ef9ffc9a6ff7 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 29 Jun 2021 10:22:27 -0400 Subject: [PATCH] try 2 second i2c bus test --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 3b3a7d02..347c8ca0 100644 --- a/main.c +++ b/main.c @@ -1792,7 +1792,7 @@ int test_i2c_bus(int bus) if (access(busDev, W_OK | R_OK) >= 0) { // Test if I2C Bus is present // printf("bus is present\n\n"); char result[128]; - const char command_start[] = "timeout 5 i2cdetect -y "; // was 10 + const char command_start[] = "timeout 2 i2cdetect -y "; // was 5 10 char command[50]; strcpy (command, command_start); strcat (command, busS);