Add optional clocking for the displays.

This commit is contained in:
Jonathan Naylor 2016-05-21 12:28:09 +01:00
parent 05a750bf60
commit 90772a2a9b
4 changed files with 14 additions and 0 deletions

View file

@ -189,4 +189,10 @@ void CDisplay::clock(unsigned int ms)
m_timer2.stop();
}
}
clockInt(ms);
}
void CDisplay::clockInt(unsigned int ms)
{
}

View file

@ -62,6 +62,8 @@ protected:
virtual void writeFusionInt(const char* source, const char* dest, const char* type, const char* origin) = 0;
virtual void clearFusionInt() = 0;
virtual void clockInt(unsigned int ms);
private:
CTimer m_timer1;
CTimer m_timer2;

View file

@ -677,6 +677,10 @@ void CHD44780::clearFusionInt()
}
}
void CHD44780::clockInt(unsigned int ms)
{
}
void CHD44780::close()
{
}

View file

@ -73,6 +73,8 @@ protected:
virtual void writeFusionInt(const char* source, const char* dest, const char* type, const char* origin);
virtual void clearFusionInt();
virtual void clockInt(unsigned int ms);
private:
unsigned int m_rows;
unsigned int m_cols;