Update main.c cat not copy

pi-sensors
Alan Johnston 3 months ago committed by GitHub
parent 952a2e6909
commit 3907cfc2d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2920,7 +2920,7 @@ int pi_sensors(char *buffer)
fclose(sensor_read);
strcat(buffer, sensor_buffer);
strcpy(buffer, "MPU6050 ");
strcat(buffer, "MPU6050 ");
sensor_read = sopen("/home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi/mpu6050"); // read MPU if present
fgets(sensor_buffer, 1000, sensor_read);

Loading…
Cancel
Save

Powered by TurnKey Linux.