diff --git a/lib/card10/pb.c b/lib/card10/pb.c index cb15272257556f663d5ca12b25b1782ca616e950..086e4111d23522d6b60f4aad7ee31bd582715de0 100644 --- a/lib/card10/pb.c +++ b/lib/card10/pb.c @@ -34,12 +34,12 @@ * ******************************************************************************/ -#include <stddef.h> #include "mxc_config.h" #include "mxc_assert.h" #include "pb.h" #include "portexpander.h" - +#include "MAX77650-Arduino-Library.h" +#include <stddef.h> /******************************************************************************/ int PB_Init(void) { @@ -123,7 +123,7 @@ int PB_Get(unsigned int pb) } break; case 2: - // TODO: read pmic button + return MAX77650_getDebounceStatusnEN0(); break; } return 0;