From c47bb85d1cb413a1ef93054a7284df95789ba755 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 23 Jun 2021 08:59:53 -0400 Subject: [PATCH] in test_i2c_bus reduced timeout from 10 to 5 --- afsk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index c596c8f4..d26effcf 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -2583,7 +2583,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 10 i2cdetect -y "; + const char command_start[] = "timeout 5 i2cdetect -y "; // was 10 char command[50]; strcpy (command, command_start); strcat (command, busS);