more const cleaning

This commit is contained in:
richonguzman 2024-06-05 23:49:16 -04:00
parent 18de124c04
commit c89ca7316f
10 changed files with 21 additions and 21 deletions

View file

@ -66,7 +66,7 @@ namespace Utils {
}
}
String getLocalIP() {
const String getLocalIP() {
if (!WiFiConnected) {
return "IP : 192.168.4.1";
} else if (backUpDigiMode) {
@ -213,7 +213,7 @@ namespace Utils {
}
}
void typeOfPacket(const String& packet, uint8_t packetType) {
void typeOfPacket(const String& packet, const uint8_t packetType) {
String sender = packet.substring(0,packet.indexOf(">"));
switch (packetType) {
case 0: // LoRa-APRS