Skip to content
Snippets Groups Projects
Commit 8ffaa150 authored by schneider's avatar schneider
Browse files

fix(pushbuttons): Add Button 2 support

parent 2b03934b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment