Skip to content

Commit

Permalink
Merge pull request #26 from PotatoFi/compile-fix
Browse files Browse the repository at this point in the history
Fixed missing default in case, which the compiler did not like
  • Loading branch information
PotatoFi authored Jun 5, 2023
2 parents a9cd70b + c9809a8 commit f58a321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Packet_Potato/string_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,8 @@ byte getFrameType(wifi_promiscuous_pkt_type_t type)

case WIFI_PKT_DATA:
return 2;

default:
return 0;
}
}

0 comments on commit f58a321

Please sign in to comment.