Add battery charging hook, disabled by default
This commit is contained in:
parent
976874f525
commit
0d74fe65e0
@ -3,6 +3,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <arch/delay.h>
|
||||
#include <board/battery.h>
|
||||
#include <board/gpio.h>
|
||||
#include <board/gctrl.h>
|
||||
#include <board/kbc.h>
|
||||
@ -87,6 +88,8 @@ void power_button() {
|
||||
if (!new && last) {
|
||||
printf("Power switch\n");
|
||||
|
||||
// battery_charger_enable();
|
||||
|
||||
battery_debug();
|
||||
//gpio_set(&DD_ON, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user