diff --git a/configs/same70-xplained/twm4nx/defconfig b/configs/same70-xplained/twm4nx/defconfig index f16f27f01ae..99589e68f59 100644 --- a/configs/same70-xplained/twm4nx/defconfig +++ b/configs/same70-xplained/twm4nx/defconfig @@ -60,6 +60,7 @@ CONFIG_NETDEV_STATISTICS=y CONFIG_NETUTILS_TELNETD=y CONFIG_NET_ARP_SEND=y CONFIG_NET_BROADCAST=y +CONFIG_NET_ETH_PKTSIZE=1514 CONFIG_NET_ICMP=y CONFIG_NET_ICMP_SOCKET=y CONFIG_NET_SOCKOPTS=y diff --git a/graphics/vnc/server/vnc_raw.c b/graphics/vnc/server/vnc_raw.c index 383849fd818..2eb06bc30b8 100644 --- a/graphics/vnc/server/vnc_raw.c +++ b/graphics/vnc/server/vnc_raw.c @@ -405,7 +405,7 @@ int vnc_raw(FAR struct vnc_session_s *session, FAR struct nxgl_rect_s *rect) updheight = srcheight; } - /* Loop until this horizontal swath has sent to the VNC client. + /* Loop until this horizontal swath has been sent to the VNC client. * Start with the leftmost pixel and transfer rectangles * horizontally with width of destwidth until all srcwidth * columns have been transferred (the last rectangle may be @@ -504,4 +504,4 @@ int vnc_raw(FAR struct vnc_session_s *session, FAR struct nxgl_rect_s *rect) } return OK; -} \ No newline at end of file +} diff --git a/graphics/vnc/server/vnc_receiver.c b/graphics/vnc/server/vnc_receiver.c index efa97283dd5..6d8e452e914 100644 --- a/graphics/vnc/server/vnc_receiver.c +++ b/graphics/vnc/server/vnc_receiver.c @@ -280,7 +280,7 @@ int vnc_receiver(FAR struct vnc_session_s *session) ginfo("Received FramebufferUpdateRequest\n"); - /* Read the rest of the SetPixelFormat message */ + /* Read the rest of the FramebufferUpdateRequest message */ ret = vnc_read_remainder(session, sizeof(struct rfb_fbupdatereq_s) - 1, diff --git a/graphics/vnc/server/vnc_rre.c b/graphics/vnc/server/vnc_rre.c index f33b0921ac0..172c5ae47ed 100644 --- a/graphics/vnc/server/vnc_rre.c +++ b/graphics/vnc/server/vnc_rre.c @@ -196,8 +196,8 @@ ssize_t vnc_rre32(FAR struct vnc_session_s *session, * rect - Describes the rectangle in the local framebuffer. * * Returned Value: - * Zero is returned if RRE coding was not performed (but not error was) - * encountered. Otherwise, the size of the framebuffer update message + * Zero is returned if RRE coding was not performed (but no error was + * encountered). Otherwise, the size of the framebuffer update message * is returned on success or a negated errno value is returned on failure * that indicates the nature of the failure. A failure is only * returned in cases of a network failure and unexpected internal failures. @@ -315,4 +315,4 @@ int vnc_rre(FAR struct vnc_session_s *session, FAR struct nxgl_rect_s *rect) } return 0; -} \ No newline at end of file +} diff --git a/graphics/vnc/server/vnc_updater.c b/graphics/vnc/server/vnc_updater.c index 439a952aff3..f12badcd6bc 100644 --- a/graphics/vnc/server/vnc_updater.c +++ b/graphics/vnc/server/vnc_updater.c @@ -653,7 +653,7 @@ int vnc_update_rectangle(FAR struct vnc_session_s *session, update->whupd = whupd; nxgl_rectcopy(&update->rect, &intersection); - /* Add the upate to the end of the update queue. */ + /* Add the update to the end of the update queue. */ vnc_add_queue(session, update); @@ -665,7 +665,7 @@ int vnc_update_rectangle(FAR struct vnc_session_s *session, sched_unlock(); } - /* Since we ignore bad rectangles and wait for updata structures, there is + /* Since we ignore bad rectangles and wait for update structures, there is * really no way a failure can occur. */