xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988540940


##########
drivers/lcd/max7219.c:
##########
@@ -290,14 +290,14 @@ static struct max7219_dev_s g_max7219dev =
 static inline void __set_bit(int nr, uint8_t * addr)
 {
   uint8_t mask = BIT_MASK(nr);
-  uint8_t *p = ((uint8_t *) addr) + BIT_BYTE(nr);
+  uint8_t *p = ((uint8_t *)addr) + BIT_BYTE(nr);
   *p |= mask;
 }
 
 static inline void __clear_bit(int nr, uint8_t * addr)
 {
   uint8_t mask = BIT_MASK(nr);
-  uint8_t *p = ((uint8_t *) addr) + BIT_BYTE(nr);
+  uint8_t *p = ((uint8_t *)addr) + BIT_BYTE(nr);

Review Comment:
   Done.



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to