View Single Post
  #1   Spotlight this post!  
Unread 15-12-2016, 15:14
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 62
phurley67 is an unknown quantity at this point
Roborio and Real Time Clock

So from our RoboRIO image in /etc/init.d/bootmisc.sh

I see this little nugget:

Code:
# Set the system clock from hardware clock
# If the timestamp is more recent than the current time,
# use the timestamp instead.
test -x /etc/init.d/hwclock.sh && /etc/init.d/hwclock.sh start
I don't have a /etc/init.d/hwclock.sh, but I wish I did :-). It would be nice if our log files had real date/time stamps if for no other reason than to keep things organized. Is anyone currently using RTC? Also double checking that the RIO does not have one and I just need to go buy a battery or something :-)
Reply With Quote