diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index 26397fd..3836ba5 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -67,7 +67,7 @@ static std::map flash_list = { .subsector_erase = true, .has_extended = false, .tb_otp = true, - .tb_offset = (1 << 5), + .tb_offset = (1 << 1), .tb_register = FUNCR, .bp_len = 4, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} @@ -80,7 +80,7 @@ static std::map flash_list = { .subsector_erase = true, .has_extended = false, .tb_otp = true, - .tb_offset = (1 << 5), + .tb_offset = (1 << 1), .tb_register = FUNCR, .bp_len = 4, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} @@ -93,7 +93,7 @@ static std::map flash_list = { .subsector_erase = true, .has_extended = false, .tb_otp = true, - .tb_offset = (1 << 5), + .tb_offset = (1 << 1), .tb_register = FUNCR, .bp_len = 4, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}}