mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-04 15:35:32 +00:00
remove the only 1 stoi (#2341)
This commit is contained in:
parent
5851b47f99
commit
a153cd741d
@ -276,7 +276,7 @@ class APRSPacket {
|
||||
if (!is_digits(sub)) {
|
||||
return 0;
|
||||
} else {
|
||||
return std::stoi(sub);
|
||||
return atoi(sub.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user