Added missing condition.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15584 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2022-04-15 07:33:21 +00:00
parent 6ab7bda104
commit 3d88ff8f65
1 changed files with 2 additions and 0 deletions

View File

@ -137,10 +137,12 @@ typedef struct snor_nocache_buffer {
* @brief Temporary generic buffer. * @brief Temporary generic buffer.
*/ */
uint8_t buf[SNOR_BUFFER_SIZE]; uint8_t buf[SNOR_BUFFER_SIZE];
#if SNOR_BUS_DRIVER == SNOR_BUS_DRIVER_WSPI
/** /**
* @brief Temporary command buffer. * @brief Temporary command buffer.
*/ */
wspi_command_t cmd; wspi_command_t cmd;
#endif
} snor_nocache_buffer_t; } snor_nocache_buffer_t;
/** /**