-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit 02c3ec0
authored
remove _user_defined_size from EEPROM (#5775)
Summary
Related to the issue #5773 and #2280.
_user_defined_size is removed from EEPROMClass because it is redundant in the current code
EEPROMClass::length() returns _size that is the true available size of EEPROM
Impact
_user_defined_size is removed from EEPROMClass
EEPROMClass::length() returns _size that is the true available size of EEPROM1 parent cb5a490 commit 02c3ec0
File tree
3 files changed
+9
-13
lines changed- libraries/EEPROM
- examples/eeprom_class
- src
3 files changed
+9
-13
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
15 | - | ||
16 | - | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | - | ||
22 | + | ||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | - | ||
28 | + | ||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | - | ||
34 | + | ||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | - | ||
38 | 37 |
| |
39 | 38 |
| |
40 | 39 |
| |
| |||
45 | 44 |
| |
46 | 45 |
| |
47 | 46 |
| |
48 | - | ||
49 | 47 |
| |
50 | 48 |
| |
51 | 49 |
| |
52 | - | ||
50 | + | ||
53 | 51 |
| |
54 | 52 |
| |
55 | 53 |
| |
56 | 54 |
| |
57 | 55 |
| |
58 | - | ||
59 | 56 |
| |
60 | 57 |
| |
61 | 58 |
| |
| |||
215 | 212 |
| |
216 | 213 |
| |
217 | 214 |
| |
218 | - | ||
215 | + | ||
219 | 216 |
| |
220 | 217 |
| |
221 | 218 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 | - | ||
38 | + | ||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 | - | ||
116 | 115 |
| |
117 | 116 |
| |
118 | 117 |
| |
|
0 commit comments