Contains necessary classes and functions for ELEC351
Diff: loggingMaster/dateAndTime.cpp
- Revision:
- 7:92b4783af1d2
- Parent:
- 2:e2b885367ba8
diff -r dfcb6c2fc593 -r 92b4783af1d2 loggingMaster/dateAndTime.cpp --- a/loggingMaster/dateAndTime.cpp Tue Jan 09 13:31:18 2018 +0000 +++ b/loggingMaster/dateAndTime.cpp Tue Jan 09 15:47:08 2018 +0000 @@ -23,7 +23,7 @@ } -void C_DT::setD(int yr, int mnt, int day) // Updates RTC date +void C_DT::setD(int day, int mnt, int yr) // Updates RTC date { time_t secondsElapsed; // Object of type time_t struct tm *tempTimeInfo; // Pointer to a embeded structure containing calendar dates