Justin Howard / Mbed 2 deprecated AdaFruit_RGBLCD

Dependencies:   AdaFruit_RGBLCDShield MCP23017 mbed RTclock

Dependents:   SX1276_GPS

Fork of MCP_test by Wim Huiskamp

Revision:
13:9641bc42db92
Parent:
12:0fea8ebe6c1a
Child:
14:8b359e1e68f3
--- a/time_helper.cpp	Sun Aug 10 16:01:43 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#include "mbed.h"
-#include "time_helper.h"
-
-void GetTime(tm & out_sTM)
-{
-    time_t nTime = time(0);
-    tm * pTM = ::localtime(&nTime);
-    ::memcpy(&out_sTM,pTM,sizeof(out_sTM));
-}
-
-void SetTime(const tm & in_sTM)
-{
-    tm sTM = { 0 };
-    memcpy(&sTM,&in_sTM,sizeof(sTM));
-    
-    time_t nTime = mktime(&sTM);
-    set_time(nTime);    
-}