Ben Tyner | ef32015 | 2020-01-09 10:31:23 -0600 | [diff] [blame^] | 1 | #include <libpdbg.h> |
2 | |||||
3 | #include <attn_handler.hpp> | ||||
4 | |||||
5 | /** | ||||
6 | * @brief Attention handler application main() | ||||
7 | * | ||||
8 | * This is the main interface to the Attention handler application, it will | ||||
9 | * initialize the libgpd targets and start a gpio mointor. | ||||
10 | * | ||||
11 | * @return 0 = success | ||||
12 | */ | ||||
13 | int main() | ||||
14 | { | ||||
15 | int rc = 0; // return code | ||||
16 | |||||
17 | // initialize pdbg targets | ||||
18 | pdbg_targets_init(nullptr); | ||||
19 | |||||
20 | return rc; | ||||
21 | } |