Skip to content

Commit

Permalink
initiator: add unlikely to platform_is_initiator_mode_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
erichelgeson committed Feb 8, 2024
1 parent df709dd commit 11eef85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlueSCSI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ extern "C" void bluescsi_main_loop(void)
platform_network_poll();

#ifdef PLATFORM_HAS_INITIATOR_MODE
if (platform_is_initiator_mode_enabled())
if (unlikely(platform_is_initiator_mode_enabled()))
{
scsiInitiatorMainLoop();
save_logfile();
Expand Down

0 comments on commit 11eef85

Please sign in to comment.