blob: 177a0aea986ae4c34a3b67159d77de7048ca39d7 [file] [log] [blame]
Ben Tynerbcf65a82020-12-01 08:46:36 -06001#include <attn/attention.hpp> // for Attention
2#include <attn/attn_handler.hpp> // for RC_SUCCESS
3#include <attn/attn_logging.hpp> // for trace
4
5namespace attn
6{
7
8/** @brief Handle SBE vital attention */
9int handleVital(Attention* i_attention)
10{
11 int rc = RC_SUCCESS;
12
13 // trace message
14 trace<level::INFO>("Vital handler");
15
16 // sanity check
17 if (nullptr == i_attention)
18 {
19 trace<level::INFO>("attention type is null");
20 rc = RC_NOT_HANDLED;
21 }
22
23 return rc;
24}
25
26} // namespace attn