diff options
author | Ben V. Brown <[email protected]> | 2021-01-17 10:53:49 +1100 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2021-01-17 10:53:49 +1100 |
commit | bf5055edaaabf4748217871a196c5ad3f781b4bd (patch) | |
tree | 8520a8da03d9a78cd0fb06d20edffb11f3aad0e4 /source/Core/BSP/BSP.h | |
parent | f786901da0800f6071c3fccaa75e85848268c58b (diff) | |
download | IronOS-bf5055edaaabf4748217871a196c5ad3f781b4bd.tar.gz IronOS-bf5055edaaabf4748217871a196c5ad3f781b4bd.zip |
Format headers
Diffstat (limited to 'source/Core/BSP/BSP.h')
-rw-r--r-- | source/Core/BSP/BSP.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/Core/BSP/BSP.h b/source/Core/BSP/BSP.h index 6bce9d44..eb54ead0 100644 --- a/source/Core/BSP/BSP.h +++ b/source/Core/BSP/BSP.h @@ -1,10 +1,10 @@ -#include <stdint.h>
-#include <stdbool.h>
#include "BSP_Flash.h"
#include "BSP_Power.h"
#include "BSP_QC.h"
#include "Defines.h"
#include "Model_Config.h"
+#include <stdbool.h>
+#include <stdint.h>
/*
* BSP.h -- Board Support
*
@@ -59,16 +59,16 @@ void reboot(); // If the user has programmed in a bootup logo, draw it to the screen from flash
// Returns 1 if the logo was printed so that the unit waits for the timeout or button
uint8_t showBootLogoIfavailable();
-//delay wrapper for delay using the hardware timer (used before RTOS)
-void delay_ms(uint16_t count) ;
-//Used to allow knowledge of if usb_pd is being used
+// delay wrapper for delay using the hardware timer (used before RTOS)
+void delay_ms(uint16_t count);
+// Used to allow knowledge of if usb_pd is being used
uint8_t usb_pd_detect();
-bool getHallSensorFitted();
+bool getHallSensorFitted();
// If the iron has a hall effect sensor in the handle, return an signed count of the reading
// If the sensor is single polarity (or polarity insensitive) just return 0..32768
int16_t getRawHallEffect();
-//Returns true if power is from dumb "DC" input rather than "smart" QC or PD
+// Returns true if power is from dumb "DC" input rather than "smart" QC or PD
bool getIsPoweredByDCIN();
#ifdef __cplusplus
|