diff -r 28a369bb2676 -r d0718654d9b0 targets/plc_main_head.c --- a/targets/plc_main_head.c Thu Apr 12 16:29:43 2018 +0200 +++ b/targets/plc_main_head.c Thu Apr 12 16:31:30 2018 +0200 @@ -35,6 +35,9 @@ /* Help to quit cleanly when init fail at a certain level */ static int init_level = 0; +/* Prototype for Logging to help spotting errors at init */ +int LogMessage(uint8_t level, char* buf, uint32_t size); + /* * Prototypes of functions exported by plugins **/