fix(B&W): Avoid having constants in SRAM (#2993)

fix constness to avoid having constants in data segment 
.... and thus free some precious RAM
This commit is contained in:
Raphael Coeffic
2023-01-18 20:12:35 +10:00
committed by GitHub
parent acd44516d0
commit acd95dfad4
22 changed files with 176 additions and 172 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ void MultiRfProtocols::RfProto::fillSubProtoList(const char* str, int n, int len
}
}
void MultiRfProtocols::RfProto::fillSubProtoList(const char** str, int n)
void MultiRfProtocols::RfProto::fillSubProtoList(const char *const *str, int n)
{
subProtos.reserve(n);