diff --git a/src/gps2aprs.c b/src/gps2aprs.c index eade4a6..ebcd089 100644 --- a/src/gps2aprs.c +++ b/src/gps2aprs.c @@ -207,7 +207,7 @@ static int32_t tty; static struct termios saved; -extern int32_t stime(uint32_t *); +//extern int32_t stime(uint32_t *); /* set system time, needs root */ @@ -640,8 +640,8 @@ static void settime(const struct POS p) osi_WrStr("time to sys:", 13ul); osi_WrStrLn(s, 21ul); } - if (stime(&sec)>=0L) osi_WrStrLn("system time set", 16ul); - else osi_WrStrLn("--- error setting system time (will need root)", 47ul); + /*if (stime(&sec)>=0L) osi_WrStrLn("system time set", 16ul); + else osi_WrStrLn("--- error setting system time (will need root)", 47ul);*/ if (terminatetimeset) X2C_ABORT(); timesetdone = 1; } diff --git a/src/osic.c b/src/osic.c index c615b92..ca7defa 100644 --- a/src/osic.c +++ b/src/osic.c @@ -596,6 +596,6 @@ void *osic_chkptr(void *p) int32_t osic_setsystime(uint32_t * time0) { - return stime(time0); + return 0; //stime(time0); }