From 0789954fdae361a7031762d85735563cc393b0f6 Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 25 May 2001 11:29:20 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@855 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/examples/ds390/clock390/clock390.c | 2 +- device/examples/ds390/rtc390/rtc390.c | 2 +- device/examples/mcs51/clock/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device/examples/ds390/clock390/clock390.c b/device/examples/ds390/clock390/clock390.c index b73a013e..92a80f38 100644 --- a/device/examples/ds390/clock390/clock390.c +++ b/device/examples/ds390/clock390/clock390.c @@ -21,7 +21,7 @@ void main (void) { seconds=ms/1000; #ifdef USE_LCD - LcdLPrintf (2 + (4<<8), "%ld", ms); + LcdLPrintf (2 + (4<<8), "%10ld", ms); #endif if (seconds!=oldSeconds) { diff --git a/device/examples/ds390/rtc390/rtc390.c b/device/examples/ds390/rtc390/rtc390.c index 38b83135..bbfa2ee4 100755 --- a/device/examples/ds390/rtc390/rtc390.c +++ b/device/examples/ds390/rtc390/rtc390.c @@ -59,7 +59,7 @@ char GetTime(struct tm *rtcTime) { void PrintTime(struct tm *rtcTime, char verbose) { printf ("%s%04d-%02d-%02d %02d:%02d:%02d.%02d\n", - verbose ? "RTC time: " : "", // this one still needs a cast + verbose ? "RTC time: " : "", rtcTime->tm_year+1900, rtcTime->tm_mon+1, rtcTime->tm_mday, rtcTime->tm_hour, rtcTime->tm_min, rtcTime->tm_sec, rtcTime->tm_hundredth); diff --git a/device/examples/mcs51/clock/Makefile b/device/examples/mcs51/clock/Makefile index 49ee32ba..1a0e80c9 100755 --- a/device/examples/mcs51/clock/Makefile +++ b/device/examples/mcs51/clock/Makefile @@ -1,4 +1,4 @@ -CC = /home/johan/sdcc/bin/sdcc +CC = sdcc #CFLAGS = -V MFLAGS = --model-small --stack-after-data #MFLAGS = --model-large --stack-after-data -- 2.47.2