Skip to content
Snippets Groups Projects
Commit 0b627be8 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #5809 from makomi/driver_dht

tests/driver_dht: fix invalidPrintfArgType_sint (cppcheck)
parents 9874a6d6 54fc0fd2
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ int main(void)
int_hum = hum / 10;
dec_hum = hum - (int_hum * 10);
printf("DHT device #%i - ", i);
printf("DHT device #%u - ", i);
printf("temp: %i.%i°C, ", int_temp, dec_temp);
printf("relative humidity: %i.%i%%\n", int_hum, dec_hum);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment