Skip to content

Commit

Permalink
boot: zephyr: Fix Warning 'boot_serial_enter defined but not used'
Browse files Browse the repository at this point in the history
Fix possible warning "boot_serial_enter defined but not used".

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
  • Loading branch information
butok authored and nordicjm committed Oct 8, 2024
1 parent a5e3d16 commit a967c66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boot/zephyr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a967c66

Please sign in to comment.