mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-12 16:57:38 +00:00
remove the only 1 stoi (#2341)
This commit is contained in:
@@ -276,7 +276,7 @@ class APRSPacket {
|
|||||||
if (!is_digits(sub)) {
|
if (!is_digits(sub)) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return std::stoi(sub);
|
return atoi(sub.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user