Skip to content

Commit eca4d69

Browse files
dcpleunggalak
authored andcommitted
samples: intel_s1000_crb: fix no return on non-void func error
There are compiler error about the entry functions of two threads not returning anything. So add return statement to fix it. Signed-off-by: Daniel Leung <[email protected]>
1 parent fc42c82 commit eca4d69

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

samples/boards/intel_s1000_crb/audio/src/framework.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ static int framework_background_thread(void)
2727
tun_drv_packet_handler();
2828
audio_core_process_background_tasks();
2929
}
30+
31+
return 0;
3032
}

samples/boards/intel_s1000_crb/audio/src/tuning_driver.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ static int tun_drv_io_thread(void)
6666
/* notify audio core on tuning command reception */
6767
audio_core_notify_tuning_cmd();
6868
}
69+
70+
return 0;
6971
}
7072

7173
int tun_drv_packet_handler(void)

0 commit comments

Comments
 (0)