You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/10/23 17:13:35 UTC

[incubator-nuttx-apps] 03/07: Revert "Revert "system/spi: improve alignment in array initialization""

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

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 7bf9025f28c68d0cdab67a0429c24f718ef5ff59
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Sun Oct 23 12:07:18 2022 +0200

    Revert "Revert "system/spi: improve alignment in array initialization""
    
    This reverts commit a7567ce7b63b3d3dc3c3c3cb30e7387e38d65266.
---
 system/spi/spi_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/spi/spi_main.c b/system/spi/spi_main.c
index 63aa45d62..b9a698142 100644
--- a/system/spi/spi_main.c
+++ b/system/spi/spi_main.c
@@ -55,7 +55,7 @@ static const struct cmdmap_s g_spicmds[] =
 {
   { "?",    spicmd_help,  "Show help     ",  NULL },
   { "bus",  spicmd_bus,   "List buses    ",  NULL },
-  { "exch",  spicmd_exch, "SPI Exchange  ", "[OPTIONS] [<hex senddata>]" },
+  { "exch", spicmd_exch,  "SPI Exchange  ", "[OPTIONS] [<hex senddata>]" },
   { "help", spicmd_help,  "Show help     ", NULL },
   { NULL,   NULL,         NULL,             NULL }
 };