You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/16 12:07:19 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #4543: esp32: Use device specific lock as much as possible.

Ouss4 commented on a change in pull request #4543:
URL: https://github.com/apache/incubator-nuttx/pull/4543#discussion_r710054028



##########
File path: arch/xtensa/src/esp32/esp32_rt_timer.c
##########
@@ -60,17 +61,27 @@
 #define ESP32_RT_TIMER            0 /* Timer 0 */
 
 /****************************************************************************
- * Private Data
+ * Private Types
  ****************************************************************************/
 
-static int s_pid;
+struct esp32_rt_priv_s
+{
+  int pid;
+

Review comment:
       These spaces were added deliberately to separate members of different purpose.




-- 
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-unsubscribe@nuttx.apache.org

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