Commit 8ffaa150 authored by schneider's avatar schneider
Browse files

fix(pushbuttons): Add Button 2 support

parent 2b03934b
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment