Behold two innocent little static functions
static void SetClockResources(CClock *RTC)
{ RTClock = RTC; }
static void SetResources(CEeprom *E)
{ TheEeprom = E; }
Who have just finally solved almost three days of headscratching and frustration regarding a pointer corruption when passing these values over as a parameter instead.
Horah. I like today.
And it's almost lunchtime!
static void SetClockResources(CClock *RTC)
{ RTClock = RTC; }
static void SetResources(CEeprom *E)
{ TheEeprom = E; }
Who have just finally solved almost three days of headscratching and frustration regarding a pointer corruption when passing these values over as a parameter instead.
Horah. I like today.
And it's almost lunchtime!