mirror of
https://github.com/Ralim/IronOS.git
synced 2025-07-23 12:23:06 +02:00
22 lines
447 B
C++
22 lines
447 B
C++
#include "BSP.h"
|
|
#include "BSP_Power.h"
|
|
#include "Pins.h"
|
|
#include "QC3.h"
|
|
#include "Settings.h"
|
|
#include "USBPD.h"
|
|
#include "configuration.h"
|
|
|
|
void power_check() {
|
|
#ifdef POW_PD
|
|
|
|
// Cant start QC until either PD works or fails
|
|
if (USBPowerDelivery::negotiationComplete()) {
|
|
return;
|
|
}
|
|
#endif
|
|
}
|
|
|
|
bool getIsPoweredByDCIN() { return false; }
|
|
|
|
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
|
|
bool isTipShorted() { return false; } |