Line | Branch | Decision | Exec | Source |
---|---|---|---|---|
1 | #include "global.h" | |||
2 | #include "sync_edge.h" | |||
3 | // was generated automatically by rusEFI tool from sync_edge.h // by enum2string.jar tool on Sun Sep 25 22:53:38 UTC 2022 | |||
4 | // see also gen_config_and_enums.bat | |||
5 | ||||
6 | ||||
7 | ||||
8 | 94 | const char *getSyncEdge(SyncEdge value){ | ||
9 |
4/5✓ Branch 0 taken 5 times.
✓ Branch 1 taken 5 times.
✓ Branch 2 taken 19 times.
✓ Branch 3 taken 65 times.
✗ Branch 4 not taken.
|
94 | switch(value) { | |
10 |
1/1✓ Decision 'true' taken 5 times.
|
5 | case SyncEdge::Both: | |
11 | 5 | return "Both"; | ||
12 |
1/1✓ Decision 'true' taken 5 times.
|
5 | case SyncEdge::Fall: | |
13 | 5 | return "Fall"; | ||
14 |
1/1✓ Decision 'true' taken 19 times.
|
19 | case SyncEdge::Rise: | |
15 | 19 | return "Rise"; | ||
16 |
1/1✓ Decision 'true' taken 65 times.
|
65 | case SyncEdge::RiseOnly: | |
17 | 65 | return "RiseOnly"; | ||
18 | } | |||
19 | ✗ | return NULL; | ||
20 | } | |||
21 |