xiaoxiang781216 commented on code in PR #20723: URL: https://github.com/apache/nuttx/pull/20723#discussion_r4577811451
########## include/nuttx/atomic.h: ########## @@ -277,8 +333,10 @@ typedef __Atomic(int64_t) atomic64_t; #if UINTPTR_MAX > UINT32_MAX typedef atomic64_t atomic_ptr_t; -#else +#elif UINTPTR_MAX > UINT16_MAX typedef atomic_t atomic_ptr_t; +#else +typedef __Atomic(int16_t) atomic_ptr_t; Review Comment: should we map atomic_t to __Atomic(int16_t) on avr? -- 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]
