You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
size_tstart_addr; /*!< start address in the flash*/
25
28
uint32_tfull_mem_size; /*!< Amount of memory used to store data in bytes*/
@@ -29,12 +32,12 @@ typedef struct WL_Config_s {
29
32
uint32_twr_size; /*!< Minimum amount of bytes per one block at write operation: 1...*/
30
33
uint32_tversion; /*!< A version of current implementatioon. To erase and reallocate complete memory this ID must be different from id before.*/
31
34
size_ttemp_buff_size; /*!< Size of temporary allocated buffer to copy from one flash area to another. The best way, if this value will be equal to sector size.*/
32
-
uint32_treserved[3]; /*!< dummy array to make wl_config_t size compatible with flash encryption (divided by 16)*/
35
+
uint32_treserved[wl_config_t_size]; /*!< dummy array to make wl_config_t size compatible with flash encryption (divided by 16)*/
33
36
uint32_tcrc; /*!< CRC for this config*/
34
37
public:
35
38
WL_Config_s()
36
39
{
37
-
for (inti=0 ; i<3 ; i++) this->reserved[i] =0;
40
+
for (inti=0 ; i<wl_config_t_size ; i++) this->reserved[i] =0;
0 commit comments