Add command line interface to attention handler
Allows configuring attention handler before starting attention
GPIO monitor.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7a8d91703c14ce6d8eb3efddb135f11bf6baf06e
diff --git a/attn/attn_monitor.cpp b/attn/attn_monitor.cpp
index 2db8af1..15c924c 100644
--- a/attn/attn_monitor.cpp
+++ b/attn/attn_monitor.cpp
@@ -52,7 +52,7 @@
{
// active attention when gpio == 0
case 0:
- attnHandler();
+ attnHandler(iv_breakpoints);
break;
// gpio == 1, GPIO handler should not be executing