pkarashchenko commented on code in PR #8738:
URL: https://github.com/apache/nuttx/pull/8738#discussion_r1126182257


##########
drivers/lcd/memlcd.c:
##########
@@ -103,6 +109,13 @@
 #define LS_BIT               (1 << 0)
 #define MS_BIT               (1 << 7)
 
+#define MEMLCD_WORK_PERIOD   MSEC2TICK(500)
+
+#define TOGGLE_VCOM                                                          \
+  do {                                                                       \
+    _sharpmem_vcom = _sharpmem_vcom ? 0x00 : MEMLCD_CMD_VCOM;                \
+  } while (0);

Review Comment:
   ```
   do
     {
       ...
     }
   while (0)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to