pull/55/head
alanbjohnston 5 years ago committed by GitHub
parent 9568ac764b
commit 48d3c7be05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,7 +182,8 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
strcat (python, &bus[pos]);
strcat (python, space);
char addr[10];
itoa(address, addr, 10);
snprintf( addr, 10, "%d", address );
// itoa(address, addr, 10);
strcat (python, addr);
strcpy (data.command, python);

Loading…
Cancel
Save

Powered by TurnKey Linux.