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.h"
|
||||||
#include "BSP_Power.h"
|
#include "BSP_Power.h"
|
||||||
|
#include "FS2711.hpp"
|
||||||
#include "Pins.h"
|
#include "Pins.h"
|
||||||
#include "QC3.h"
|
#include "QC3.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "USBPD.h"
|
#include "USBPD.h"
|
||||||
#include "FS2711.hpp"
|
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
|
|
||||||
void power_check() {
|
void power_check() {
|
||||||
@@ -31,7 +31,7 @@ bool getIsPoweredByDCIN() {
|
|||||||
#if POW_PD_EXT == 2 && defined(POW_DC)
|
#if POW_PD_EXT == 2 && defined(POW_DC)
|
||||||
if (!FS2711::has_run_selection()) {
|
if (!FS2711::has_run_selection()) {
|
||||||
return true;
|
return true;
|
||||||
} else if(FS2711::debug_get_state().source_voltage > 0) {
|
} else if (FS2711::debug_get_state().source_voltage > 0) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user