gustavonihei commented on a change in pull request #591:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/591#discussion_r596062019



##########
File path: examples/lvgldemo/lvgldemo.c
##########
@@ -89,6 +90,25 @@ void lv_demo_widgets(void);
  * Private Functions
  ****************************************************************************/
 
+/****************************************************************************
+ * Name: monitor_cb
+ *
+ * Description:
+ *   Monitoring callback from lvgl every time the screen is flushed.
+ *
+ ****************************************************************************/
+
+static void monitor_cb(lv_disp_drv_t * disp_drv, uint32_t time, uint32_t px)
+{
+  printf("%" PRIu32 " px refreshed in %" PRIu32 " ms\n", px, time);

Review comment:
       Could you change this printf to use our logging macros?




----------------------------------------------------------------
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.

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


Reply via email to