File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 3030
3131#include " mbed.h"
3232
33+ /* *************************************************************************************
34+ * DEFINES
35+ **************************************************************************************/
36+
37+ #define BRACCIO_POWER_DEBUG_ENABLE
38+
3339/* *************************************************************************************
3440 * FUNCTION DECLARATION
3541 **************************************************************************************/
@@ -455,7 +461,9 @@ void BraccioClass::pd_thread_func()
455461 last_time_ask_pps = millis ();
456462 }
457463 _PD_UFP.run ();
464+ #ifdef BRACCIO_POWER_DEBUG_ENABLE
458465 _PD_UFP.print_status (Serial);
466+ #endif
459467
460468 /* Set up the next time this loop is called. */
461469 if (flags & PD_IRQ_EVENT_FLAG)
You can’t perform that action at this time.
0 commit comments