You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/09/16 08:41:21 UTC

[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2876: nrfx_glue: Support atomic and static assert

apache-mynewt-bot commented on PR #2876:
URL: https://github.com/apache/mynewt-core/pull/2876#issuecomment-1249089543

   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### hw/mcu/nordic/include/nrfx_glue.h
   <details>
   
   ```diff
   @@ -69,7 +71,7 @@
     */
    #define NRFX_STATIC_ASSERT(expression) static_assert(expression, "")
    
   -//------------------------------------------------------------------------------
   +/*------------------------------------------------------------------------------ */
    
    /**
     * @brief Macro for setting the priority of a specific IRQ.
   @@ -154,7 +156,7 @@
     */
    #define NRFX_DELAY_US(us_time) os_cputime_delay_usecs(us_time)
    
   -//------------------------------------------------------------------------------
   +/*------------------------------------------------------------------------------ */
    
    /** @brief Atomic 32-bit unsigned type. */
    #define nrfx_atomic_t atomic_uint_fast32_t
   @@ -223,7 +225,7 @@
     */
    #define NRFX_ATOMIC_FETCH_SUB(p_data, value) atomic_fetch_sub(p_data, value)
    
   -//------------------------------------------------------------------------------
   +/*------------------------------------------------------------------------------ */
    
    /**
     * @brief When set to a non-zero value, this macro specifies that the
   ```
   
   </details>


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

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