From 3a97f51a8dc1a5d8b866995a6e7bd46cb0157c75 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 26 Mar 2021 12:38:35 +0800 Subject: [PATCH] serial: Don't comment out ws_[x|y]pixel field from winsize struct Signed-off-by: Xiang Xiao Change-Id: I3d2435c3950e8f60b50d9af8a54c65bd0d16f2e0 --- include/nuttx/serial/tioctl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/nuttx/serial/tioctl.h b/include/nuttx/serial/tioctl.h index 642690095bc..436585eda83 100644 --- a/include/nuttx/serial/tioctl.h +++ b/include/nuttx/serial/tioctl.h @@ -208,9 +208,8 @@ struct winsize uint16_t ws_row; uint16_t ws_col; - /* uint16_t ws_xpixel; unused */ - - /* uint16_t ws_ypixel; unused */ + uint16_t ws_xpixel; /* unused */ + uint16_t ws_ypixel; /* unused */ }; /* Structure used with TIOCSRS485 and TIOCGRS485 (Linux compatible) */