Fix function type errors
This commit is contained in:
parent
130e685e7d
commit
c6a0591118
2 changed files with 4 additions and 2 deletions
|
@ -286,7 +286,7 @@ void Epd::TurnOnDisplay(void)
|
|||
function : Initialize the e-Paper register
|
||||
parameter:
|
||||
******************************************************************************/
|
||||
void Epd::Init()
|
||||
int Epd::Init()
|
||||
{
|
||||
/* this calls the peripheral hardware interface, see epdif */
|
||||
if (IfInit() != 0) {
|
||||
|
@ -323,6 +323,8 @@ void Epd::Init()
|
|||
|
||||
SendCommand(0x82); //vcom_DC setting
|
||||
SendData(0x28);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Epd::Clear(void)
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
Epd();
|
||||
~Epd();
|
||||
void Init(void);
|
||||
int Init(void);
|
||||
void SendCommand(unsigned char command);
|
||||
void SendData(unsigned char data);
|
||||
void ReadBusy(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue