From 97dec2fe6305722dd7d78b2e4c6301582fdb09f5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 8 Aug 2020 16:17:35 -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 3fb6ddb0..6cc19985 100644 --- a/afsk/telem.c +++ b/afsk/telem.c @@ -126,7 +126,7 @@ struct SensorData read_sensor_data(struct SensorConfig sensor) { struct SensorConfig config_sensor(char *bus, int address, int milliAmps) { struct SensorConfig data; - print ("Bus number: %d \n", atoi(bus[strlen(bus) - 1])); + printf("Bus number: %d \n", atoi(bus[strlen(bus) - 1])); FILE *i2cdetect = popen("timeout --preserve-status 5 i2cdetect -y 0", "r"); pclose(i2cdetect);