From ffa70811ce981e3ff8a150bffbbf5b0ac7407a82 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 11 Sep 2020 18:18:00 -0400 Subject: [PATCH] Update telem.c --- afsk/telem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/telem.c b/afsk/telem.c index 16eb0973..5e29cd2f 100644 --- a/afsk/telem.c +++ b/afsk/telem.c @@ -258,7 +258,7 @@ int test_i2c_bus(int bus) if (access(busString, W_OK | R_OK) >= 0) { // Test if I2C Bus 0 is present // printf("bus is present\n\n"); char result[128]; - char command_start = "timeout 10 i2cdetect -y "; + const char command_start[] = "timeout 10 i2cdetect -y "; char command[50]; strcpy (command, command_start); strcat (command, busS);