Skip to content

Commit

Permalink
replace pmem instead of add a new for touchscreen auto detection (#2308)
Browse files Browse the repository at this point in the history
* replace instead of add

* submodule
  • Loading branch information
zxkmm authored Oct 16, 2024
1 parent 8e94502 commit cc7123b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions firmware/common/portapack_persistent_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ struct data_t {

uint16_t touchscreen_threshold;

uint16_t UNUSED_16;

constexpr data_t()
: structure_version(data_structure_version_enum::VERSION_CURRENT),
target_frequency(target_frequency_reset_value),
Expand Down Expand Up @@ -312,8 +310,7 @@ struct data_t {
config_mode_storage(CONFIG_MODE_NORMAL_VALUE),
dst_config(),
menu_color(Color::grey()),
touchscreen_threshold(32),
UNUSED_16() {
touchscreen_threshold(32) {
}
};

Expand Down

0 comments on commit cc7123b

Please sign in to comment.