summaryrefslogtreecommitdiff
path: root/test/charge_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/charge_manager.c')
-rw-r--r--test/charge_manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/charge_manager.c b/test/charge_manager.c
index 8bfa8e2646..1941af19c7 100644
--- a/test/charge_manager.c
+++ b/test/charge_manager.c
@@ -36,6 +36,11 @@ static unsigned int charge_port_to_reject = CHARGE_PORT_NONE;
static int new_power_request[CONFIG_USB_PD_PORT_COUNT];
static int power_role[CONFIG_USB_PD_PORT_COUNT];
+/* Callback function from charge_manager to send host event */
+void pd_send_host_event(int mask)
+{
+}
+
/* Callback functions called by CM on state change */
void board_set_charge_limit(int charge_ma)
{