Skip to content
Snippets Groups Projects
Commit 6dc73df7 authored by Alex Kiernan's avatar Alex Kiernan Committed by Joe Hershberger
Browse files

net: fastboot: Fix build when FASTBOOT_FLASH is disabled


When building without FASTBOOT_FLASH we don't include the intermediate
update callback to keep the client alive, so ensure we don't try setting
it here.

Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent d1b226b7
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,9 @@ void fastboot_start_server(void)
fastboot_our_port = WELL_KNOWN_PORT;
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
fastboot_set_progress_callback(fastboot_timed_send_info);
#endif
net_set_udp_handler(fastboot_handler);
/* zero out server ether in case the server ip has changed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment