More hooks for hall effect
This commit is contained in:
@@ -63,6 +63,7 @@ uint8_t showBootLogoIfavailable();
|
||||
void delay_ms(uint16_t count) ;
|
||||
//Used to allow knowledge of if usb_pd is being used
|
||||
uint8_t usb_pd_detect();
|
||||
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();
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define TEMP_TMP36
|
||||
#define ACCEL_BMA
|
||||
#define HALL_SENSOR
|
||||
#define HALL_SI7210
|
||||
//#define HALL_SI7210
|
||||
|
||||
#define BATTFILTERDEPTH 32
|
||||
#endif
|
||||
|
||||
@@ -31,3 +31,7 @@ int16_t getRawHallEffect() {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
bool getHallSensorFitted() {
|
||||
return hall_effect_present;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user