From a153cd741d2af69f3943f6b74fec5286d6b03df9 Mon Sep 17 00:00:00 2001 From: Totoo Date: Fri, 8 Nov 2024 08:12:50 +0100 Subject: [PATCH] remove the only 1 stoi (#2341) --- firmware/common/aprs_packet.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/aprs_packet.hpp b/firmware/common/aprs_packet.hpp index 47bcf3d4..52894b19 100644 --- a/firmware/common/aprs_packet.hpp +++ b/firmware/common/aprs_packet.hpp @@ -276,7 +276,7 @@ class APRSPacket { if (!is_digits(sub)) { return 0; } else { - return std::stoi(sub); + return atoi(sub.c_str()); } }