Skip to content

Commit 7ea36fa

Browse files
committed
samples/bluetooth/broadcast_audio_sink: Fix return to int
Main now has a int return type. Fix return values, so this sample can be compiled. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent 6a4c8fa commit 7ea36fa

File tree

1 file changed

+3
-3
lines changed
  • samples/bluetooth/broadcast_audio_sink/src

1 file changed

+3
-3
lines changed

samples/bluetooth/broadcast_audio_sink/src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ int main(void)
599599
if (err != 0) {
600600
printk("Resetting failed: %d - Aborting\n", err);
601601

602-
return;
602+
return 0;
603603
}
604604

605605
if (IS_ENABLED(CONFIG_SCAN_OFFLOAD)) {
@@ -609,7 +609,7 @@ int main(void)
609609
printk("Unable to start advertising connectable: %d\n",
610610
err);
611611

612-
return;
612+
return 0;
613613
}
614614

615615
printk("Waiting for Broadcast Assistant\n");
@@ -622,7 +622,7 @@ int main(void)
622622
printk("Unable to stop advertising: %d\n",
623623
err);
624624

625-
return;
625+
return 0;
626626
}
627627
} else {
628628
/* Wait for the PA request to determine if we

0 commit comments

Comments
 (0)