Fixed test

This commit is contained in:
Martin Budden 2017-06-28 21:36:33 +01:00
parent 1c7f574a55
commit 8d4f838aac
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ static int displayPortTestScreenSize(const displayPort_t *displayPort)
return 0;
}
static int displayPortTestWrite(displayPort_t *displayPort, uint8_t x, uint8_t y, const char *s)
static int displayPortTestWriteString(displayPort_t *displayPort, uint8_t x, uint8_t y, const char *s)
{
UNUSED(displayPort);
for (unsigned int i = 0; i < strlen(s); i++) {
@ -112,7 +112,7 @@ static const displayPortVTable_t testDisplayPortVTable = {
.clearScreen = displayPortTestClearScreen,
.drawScreen = displayPortTestDrawScreen,
.screenSize = displayPortTestScreenSize,
.write = displayPortTestWrite,
.writeString = displayPortTestWriteString,
.writeChar = displayPortTestWriteChar,
.isTransferInProgress = displayPortTestIsTransferInProgress,
.heartbeat = displayPortTestHeartbeat,