Update configuration #defines

More backported functions
This commit is contained in:
Ben V. Brown
2022-07-25 21:08:08 +10:00
parent bab66acaad
commit e0ec44c10d
11 changed files with 200 additions and 182 deletions

View File

@@ -4,7 +4,6 @@
#include "BSP_PD.h"
#include "FreeRTOS.h"
#include "bflb_platform.h"
#include "fusb302b.h"
#include "main.hpp"
#include "pd.h"
@@ -66,10 +65,6 @@ bool USBPowerDelivery::fusbPresent() {
return detectionState == 1;
}
void USBPowerDelivery::triggerRenegotiation() {
// TODO; trigger the source to send its capabilities again
}
bool USBPowerDelivery::isVBUSConnected() {
static uint8_t state = 0;
if (state) {