summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index c2887ae1cc..d7e4b7b172 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -149,5 +149,10 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_PD_PORT_COUNT 2
#endif
+#ifndef __ASSEMBLER__
+/* Callback function from charge_manager to send host event */
+static inline void pd_send_host_event(int mask) { }
+#endif
+
#endif /* TEST_BUILD */
#endif /* __TEST_TEST_CONFIG_H */