X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8f6b4ddf764c3a54e42d00a7502c82c5c3e71b1c..1c16ae399a9f924c15d9dec54cacb1320ff0a92f:/Demos/OTG/TestApp/TestApp.c diff --git a/Demos/OTG/TestApp/TestApp.c b/Demos/OTG/TestApp/TestApp.c index e72c191b3..d5a752322 100644 --- a/Demos/OTG/TestApp/TestApp.c +++ b/Demos/OTG/TestApp/TestApp.c @@ -130,7 +130,7 @@ TASK(TestApp_CheckTemp) if (Scheduler_HasDelayElapsed(10000, &DelayCounter)) { printf_P(PSTR("Current temperature: %d Degrees Celcius\r\n\r\n"), - (int)Temperature_GetTemperature()); + (int8_t)Temperature_GetTemperature()); /* Reset the delay counter, ready to count another 10000 tick interval */ Scheduler_ResetDelay(&DelayCounter);