boot: zephyr: Fix Warning 'boot_serial_enter defined but not used'

Fix possible warning "boot_serial_enter defined but not used".

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
(cherry picked from commit a967c66ed0)
This commit is contained in:
Andrej Butok 2024-10-02 12:55:59 +02:00 committed by Jamie McCrae
parent a58d902659
commit 52c7231add
1 changed files with 2 additions and 1 deletions

View File

@ -389,7 +389,8 @@ void zephyr_boot_log_stop(void)
* !defined(CONFIG_LOG_PROCESS_THREAD) && !defined(ZEPHYR_LOG_MODE_MINIMAL)
*/
#ifdef CONFIG_MCUBOOT_SERIAL
#if defined(CONFIG_BOOT_SERIAL_ENTRANCE_GPIO) || defined(CONFIG_BOOT_SERIAL_PIN_RESET) \
|| defined(CONFIG_BOOT_SERIAL_BOOT_MODE) || defined(CONFIG_BOOT_SERIAL_NO_APPLICATION)
static void boot_serial_enter()
{
int rc;