Skip to content

Commit

Permalink
fix: free memory on analyzer packets counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Otrebor671 committed Nov 21, 2024
1 parent eccb1c4 commit 025d70a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ clean:
rm sdkconfig
make setup

ff:
make test_port
idf.py -p $(PORT) erase-flash
make flash monitor

all: flash monitor

.PHONY: test_port setup compile flash monitor clean all
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ void wifi_screens_module_display_sniffer_cb(sniffer_runtime_t* sniffer) {
OLED_DISPLAY_INVERT);
oled_screen_display_text(channel_str, x_offset, pkts_offset + 1,
OLED_DISPLAY_INVERT);
free(packets_str);
free(channel_str);
} else {
ESP_LOGI(TAG_WIFI_SCREENS_MODULE, "sniffer task stopped");
}
Expand Down

0 comments on commit 025d70a

Please sign in to comment.