mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Fix clang-format code style mismatches
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#include "BSP.h"
|
||||
#include "BSP_Power.h"
|
||||
#include "FS2711.hpp"
|
||||
#include "Pins.h"
|
||||
#include "QC3.h"
|
||||
#include "Settings.h"
|
||||
#include "USBPD.h"
|
||||
#include "FS2711.hpp"
|
||||
#include "configuration.h"
|
||||
|
||||
void power_check() {
|
||||
@@ -27,16 +27,16 @@ void power_check() {
|
||||
#endif
|
||||
}
|
||||
|
||||
bool getIsPoweredByDCIN() {
|
||||
bool getIsPoweredByDCIN() {
|
||||
#if POW_PD_EXT == 2 && defined(POW_DC)
|
||||
if (!FS2711::has_run_selection()) {
|
||||
return true;
|
||||
} else if(FS2711::debug_get_state().source_voltage > 0) {
|
||||
} else if (FS2711::debug_get_state().source_voltage > 0) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
return false;
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user