1
0
forked from me/IronOS

More hooks for hall effect

This commit is contained in:
Ben V. Brown
2020-10-27 18:38:40 +11:00
parent 77dbc9df56
commit 4496cfd41d
4 changed files with 7 additions and 7 deletions

View File

@@ -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();