mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 01:37:22 +00:00
examples: Collects coverage info in component
This commit is contained in:
10
examples/system/gcov/components/sample/some_funcs.c
Normal file
10
examples/system/gcov/components/sample/some_funcs.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
void some_dummy_func(void)
|
||||
{
|
||||
static int i;
|
||||
printf("some_dummy_func: Counter = %d\n", i++);
|
||||
i++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user