İlk işleme.
This commit is contained in:
21
test/main/relay_chn_test_main.c
Normal file
21
test/main/relay_chn_test_main.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "unity.h"
|
||||
#include "unity_test_runner.h"
|
||||
|
||||
|
||||
static void print_banner(const char*);
|
||||
|
||||
void app_main(void) {
|
||||
|
||||
print_banner("Starting interactive test menu");
|
||||
/* This function will not return, and will be busy waiting for UART input.
|
||||
* Make sure that task watchdog is disabled if you use this function.
|
||||
*/
|
||||
unity_run_menu();
|
||||
}
|
||||
|
||||
static void print_banner(const char* text)
|
||||
{
|
||||
printf("\n##### %s #####\n\n", text);
|
||||
}
|
||||
Reference in New Issue
Block a user