diff --git a/examples/chrono/chrono_main.c b/examples/chrono/chrono_main.c index a5b7b1a89..dc32c97c4 100644 --- a/examples/chrono/chrono_main.c +++ b/examples/chrono/chrono_main.c @@ -342,7 +342,7 @@ int main(int argc, FAR char *argv[]) /* Initialize the output stream */ memset(priv, 0, sizeof(struct slcd_chrono_s)); - priv->stream.put = slcd_putc; + priv->stream.putc = slcd_putc; #ifdef CONFIG_STDIO_LINEBUFFER priv->stream.flush = slcd_flush; #endif diff --git a/examples/hidkbd/hidkbd_main.c b/examples/hidkbd/hidkbd_main.c index ac38cde2c..e0f2a52ee 100644 --- a/examples/hidkbd/hidkbd_main.c +++ b/examples/hidkbd/hidkbd_main.c @@ -119,7 +119,7 @@ static void hidkbd_decode(FAR char *buffer, ssize_t nbytes) /* Initialize */ memset(&state, 0, sizeof(struct kbd_getstate_s)); - kbdstream.stream.get = hidkbd_getstream; + kbdstream.stream.getc = hidkbd_getstream; kbdstream.stream.nget = 0; kbdstream.buffer = buffer; kbdstream.nbytes = nbytes; diff --git a/examples/slcd/slcd_main.c b/examples/slcd/slcd_main.c index 34b1dd6fb..ca68c6526 100644 --- a/examples/slcd/slcd_main.c +++ b/examples/slcd/slcd_main.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/examples/clcd/slcd_main.c + * apps/examples/slcd/slcd_main.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -269,7 +269,7 @@ int main(int argc, FAR char *argv[]) /* Initialize the output stream */ memset(priv, 0, sizeof(struct slcd_test_s)); - priv->stream.put = slcd_putc; + priv->stream.putc = slcd_putc; #ifdef CONFIG_STDIO_LINEBUFFER priv->stream.flush = slcd_flush; #endif