diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ocpc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ocpc.h b/include/ocpc.h index 20ec35c797..3b95556fc1 100644 --- a/include/ocpc.h +++ b/include/ocpc.h @@ -86,4 +86,26 @@ void ocpc_reset(struct ocpc_data *ocpc); * @param ocpc: Pointer to OCPC data */ __override_proto void board_ocpc_init(struct ocpc_data *ocpc); + +#ifdef TEST_BUILD +/** + * @brief Force a reload of PID constants by calling ocpc_get_pid_constants(). + */ +void ocpc_set_pid_constants(void); + +/** + * @brief Return the value of viz_output + * + * @return int + */ +int test_ocpc_get_viz_output(void); + +/** + * @brief Return the value of debug_output + * + * @return int + */ +int test_ocpc_get_debug_output(void); +#endif + #endif /* __CROS_EC_OCPC_H */ |