mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-11-28 11:53:52 +01:00
Reverted kern3 and kern4 test.
Fixed main_thread_func() to call test_start() only once. Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -218,13 +218,14 @@ int main ( void )
|
||||
*/
|
||||
static void main_thread_func (uint32_t data)
|
||||
{
|
||||
while (1) {
|
||||
/* Put a message out on the UART */
|
||||
printk("Running Tests... ");
|
||||
if (test_start() != 0) {
|
||||
printk("FAILED!\n");
|
||||
} else {
|
||||
printk("SUCCESS!\n");
|
||||
}
|
||||
/* Put a message out on the UART */
|
||||
printk("Test Started ... ");
|
||||
if (test_start() != 0) {
|
||||
printk("FAILED!\n");
|
||||
} else {
|
||||
printk("SUCCESS!\n");
|
||||
}
|
||||
printk("Reset your board !!!!!");
|
||||
/* Test finished so just hang !!! */
|
||||
while (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user