File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-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+ /* Uncommenting this line enables debug output of the USB Power Delivery library. */
38+ // #define BRACCIO_POWER_DEBUG_ENABLE
39+
3340/* *************************************************************************************
3441 * FUNCTION DECLARATION
3542 **************************************************************************************/
@@ -455,7 +462,9 @@ void BraccioClass::pd_thread_func()
455462 last_time_ask_pps = millis ();
456463 }
457464 _PD_UFP.run ();
465+ #ifdef BRACCIO_POWER_DEBUG_ENABLE
458466 _PD_UFP.print_status (Serial);
467+ #endif
459468
460469 /* Set up the next time this loop is called. */
461470 if (flags & PD_IRQ_EVENT_FLAG)
You can’t perform that action at this time.
0 commit comments