diff --git a/src/test/unit/cms_unittest.cc b/src/test/unit/cms_unittest.cc index 6c8e1c79b..cc3833e17 100644 --- a/src/test/unit/cms_unittest.cc +++ b/src/test/unit/cms_unittest.cc @@ -52,7 +52,19 @@ static int displayPortTestRelease(displayPort_t *displayPort) return 0; } -static int displayPortTestClear(displayPort_t *displayPort) +static int displayPortTestClearScreen(displayPort_t *displayPort) +{ + UNUSED(displayPort); + return 0; +} + +static int displayPortTestDrawScreen(displayPort_t *displayPort) +{ + UNUSED(displayPort); + return 0; +} + +static int displayPortTestScreenSize(const displayPort_t *displayPort) { UNUSED(displayPort); return 0; @@ -67,6 +79,21 @@ static int displayPortTestWrite(displayPort_t *displayPort, uint8_t x, uint8_t y return 0; } +static int displayPortTestWriteChar(displayPort_t *displayPort, uint8_t x, uint8_t y, uint8_t c) +{ + UNUSED(displayPort); + UNUSED(x); + UNUSED(y); + UNUSED(c); + return 0; +} + +static bool displayPortTestIsTransferInProgress(const displayPort_t *displayPort) +{ + UNUSED(displayPort); + return 0; +} + static int displayPortTestHeartbeat(displayPort_t *displayPort) { UNUSED(displayPort); @@ -87,8 +114,11 @@ static uint32_t displayPortTestTxBytesFree(const displayPort_t *displayPort) static const displayPortVTable_t testDisplayPortVTable = { .grab = displayPortTestGrab, .release = displayPortTestRelease, - .clearScreen = displayPortTestClear, + .clearScreen = displayPortTestClearScreen, + .drawScreen = displayPortTestDrawScreen, .write = displayPortTestWrite, + .writeChar = displayPortTestWriteChar, + .isTransferInProgress = displayPortTestIsTransferInProgress, .heartbeat = displayPortTestHeartbeat, .resync = displayPortTestResync, .txBytesFree = displayPortTestTxBytesFree