Merge pull request #11597 from Jason2866/patch-2

Halleffect not for ESP32-S2
This commit is contained in:
Theo Arends 2021-04-05 17:00:57 +02:00 committed by GitHub
commit 1d9a2b63ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
*/
#ifdef ESP32
#if CONFIG_IDF_TARGET_ESP32
#ifdef USE_HALLEFFECT
/*********************************************************************************************\
* ESP32 internal Hall Effect sensor connected to both GPIO36 and GPIO39
@ -96,4 +97,5 @@ bool Xsns87(uint8_t function) {
}
#endif // USE_HALLEFFECT
#endif // CONFIG_IDF_TARGET_ESP32
#endif // ESP32