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 30
30
31
31
#include " mbed.h"
32
32
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
+
33
40
/* *************************************************************************************
34
41
* FUNCTION DECLARATION
35
42
**************************************************************************************/
@@ -455,7 +462,9 @@ void BraccioClass::pd_thread_func()
455
462
last_time_ask_pps = millis ();
456
463
}
457
464
_PD_UFP.run ();
465
+ #ifdef BRACCIO_POWER_DEBUG_ENABLE
458
466
_PD_UFP.print_status (Serial);
467
+ #endif
459
468
460
469
/* Set up the next time this loop is called. */
461
470
if (flags & PD_IRQ_EVENT_FLAG)
You can’t perform that action at this time.
0 commit comments