With kernel build, entry point to all tasks is main, not some xyz_main

This commit is contained in:
Gregory Nutt
2014-09-06 09:19:15 -06:00
parent 38ecd36a61
commit 9f7c9b273f
94 changed files with 392 additions and 0 deletions

View File

@@ -76,7 +76,11 @@
* rand_main
****************************************************************************/
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char **argv)
#else
int rand_main(int argc, char *argv[])
#endif
{
uint32_t buffer[CONFIG_EXAMPLES_MAXSAMPLES];
int nsamples = CONFIG_EXAMPLES_NSAMPLES;