mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
samples, tests: cleanup void main usage.
Some samples, tests got missed in the switch from void main() to int main(). Cleanup those samples/tests to use int main(). Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void main(void)
|
||||
int main(void)
|
||||
{
|
||||
printf("Waiting...\n");
|
||||
k_sleep(K_SECONDS(1));
|
||||
@@ -22,4 +22,6 @@ void main(void)
|
||||
} else {
|
||||
printf("Error, failed to set boot mode: %d\n", rc);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user