mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
t-beam supreme: debug move
Moved scanDevices into ifdef MESH_DEBUG since it only needs to run under debug sequence
This commit is contained in:
parent
ee41d6e2d3
commit
a79e9a79e0
1 changed files with 1 additions and 3 deletions
|
|
@ -28,8 +28,8 @@ static void setPMUIntFlag(){
|
|||
pmuIntFlag = true;
|
||||
}
|
||||
|
||||
#ifdef MESH_DEBUG
|
||||
uint32_t deviceOnline = 0x00;
|
||||
|
||||
void scanDevices(TwoWire *w)
|
||||
{
|
||||
uint8_t err, addr;
|
||||
|
|
@ -89,8 +89,6 @@ void scanDevices(TwoWire *w)
|
|||
Serial.println("Scan for devices is complete.");
|
||||
Serial.println("\n");
|
||||
}
|
||||
|
||||
#ifdef MESH_DEBUG
|
||||
void TBeamS3SupremeBoard::printPMU()
|
||||
{
|
||||
Serial.print("isCharging:"); Serial.println(PMU.isCharging() ? "YES" : "NO");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue