From c9809a854729f9a2d3de28c614e8e6e3db017db6 Mon Sep 17 00:00:00 2001 From: Joel Crane Date: Sun, 4 Jun 2023 18:39:45 -0600 Subject: [PATCH] Fixed missing default in case, which the compilier did not like --- Packet_Potato/string_utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packet_Potato/string_utils.cpp b/Packet_Potato/string_utils.cpp index afaecf1..96a01a3 100644 --- a/Packet_Potato/string_utils.cpp +++ b/Packet_Potato/string_utils.cpp @@ -80,5 +80,8 @@ byte getFrameType(wifi_promiscuous_pkt_type_t type) case WIFI_PKT_DATA: return 2; + + default: + return 0; } }