From beac7ae438d73e26458421b1918ea8f867390ebf Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 29 Jul 2019 08:26:17 -0700 Subject: [PATCH] [fuzz] add stub for otPlatUartFlush() (#4031) --- tests/fuzz/fuzzer_platform.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/fuzz/fuzzer_platform.c b/tests/fuzz/fuzzer_platform.c index 480e0f595..7357f40e3 100644 --- a/tests/fuzz/fuzzer_platform.c +++ b/tests/fuzz/fuzzer_platform.c @@ -420,6 +420,11 @@ otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength) return OT_ERROR_NONE; } +otError otPlatUartFlush(void) +{ + return OT_ERROR_NOT_IMPLEMENTED; +} + void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOutput, size_t aOutputMaxLen) { OT_UNUSED_VARIABLE(aInstance);