mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 07:42:37 +00:00
T1000-E Peripherals (#5141)
* T1000-E Peripherals - enable intelligent charge controller signals - enable Accelerometer - enable internal I2C bus - provide Power to Accelerometer * POC Accelerometer Code (wakeScreen is moot for that device, just test if the driver works) * fix building without the sensor
This commit is contained in:
@@ -717,7 +717,7 @@ bool MQTT::isPrivateIpAddress(const char address[])
|
||||
// Even if it's not a valid IP address, we will know it's not a domain.
|
||||
bool hasColon = false;
|
||||
int numDots = 0;
|
||||
for (int i = 0; i < length; i++) {
|
||||
for (size_t i = 0; i < length; i++) {
|
||||
if (!isdigit(address[i]) && address[i] != '.' && address[i] != ':') {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user