This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 90a34422ed include/nuttx/spi.h Fix SPIDEVID_TYPE macro definition
90a34422ed is described below

commit 90a34422ed2af7e8a5d3bab43450beca5d10b036
Author: paolovolpi <[email protected]>
AuthorDate: Fri Jun 2 09:18:25 2023 +0200

    include/nuttx/spi.h Fix SPIDEVID_TYPE macro definition
    
    Remove space between macro name and parentheses
---
 include/nuttx/spi/spi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/spi/spi.h b/include/nuttx/spi/spi.h
index e4ae476497..3ca0f975a7 100644
--- a/include/nuttx/spi/spi.h
+++ b/include/nuttx/spi/spi.h
@@ -443,7 +443,7 @@
 
 /* This retrieves the fields from a SPI devid */
 
-#define SPIDEVID_TYPE (devid) (((uint32_t)(devid) >> 16) & 0xffff)
+#define SPIDEVID_TYPE(devid) (((uint32_t)(devid) >> 16) & 0xffff)
 #define SPIDEVID_INDEX(devid)  ((uint32_t)(devid)        & 0xffff)
 
 /* These are standard definitions for the defined SPI device IDs.  The index

Reply via email to