mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-08-16 02:39:44 +00:00
Updates based on PR review feedback from liamcottle
This commit is contained in:
@@ -628,7 +628,7 @@ void EnvironmentSensorManager::rakGPSInit(){
|
||||
|
||||
bool EnvironmentSensorManager::gpsIsAwake(uint8_t ioPin){
|
||||
|
||||
#if defined(ETH_ENABLED) && defined(RAK_BOARD)
|
||||
#if defined(ETHERNET_ENABLED) && defined(RAK_BOARD)
|
||||
if (ioPin == WB_IO2) {
|
||||
// WB_IO2 powers the Ethernet module on RAK baseboards.
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user