mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #1500 from Meshcore-Portugal/jbrazio/2026_03a6aa94
Allow usage of "/" in radio names
This commit is contained in:
commit
e60fb14e88
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ static uint32_t _atoi(const char* sp) {
|
||||||
|
|
||||||
static bool isValidName(const char *n) {
|
static bool isValidName(const char *n) {
|
||||||
while (*n) {
|
while (*n) {
|
||||||
if (*n == '[' || *n == ']' || *n == '/' || *n == '\\' || *n == ':' || *n == ',' || *n == '?' || *n == '*') return false;
|
if (*n == '[' || *n == ']' || *n == '\\' || *n == ':' || *n == ',' || *n == '?' || *n == '*') return false;
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue