Halleffect not for ESP32-S2

This commit is contained in:
Jason2866 2021-04-05 16:58:36 +02:00 committed by GitHub
parent 74537c6078
commit 9035aace06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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