* Remove duplicate calls to PrepareSector Some flash memory API calls require that a call to `PrepareSector` is done before use. However this call is already made by the LPC1768 framework so the calls in this code are not required. * Ensure correct alignment of RAM buffer The LPC176X flash API requires that the RAM buffer used for write operations must be word-aligned. This change ensures that this is the case.
|
|
||
57 |
|
57 |
|
58 |
|
58 |
|
59 |
|
59 |
|
60 |
|
|
|
|
60 |
|
|
61 |
|
61 |
|
62 |
|
62 |
|
63 |
|
63 |
|
|
|
||
92 |
|
92 |
|
93 |
|
93 |
|
94 |
|
94 |
|
95 |
|
|
|
96 |
|
95 |
|
97 |
|
96 |
|
98 |
|
97 |
|
|
|
||
100 |
|
99 |
|
101 |
|
100 |
|
102 |
|
101 |
|
103 |
|
|
|
104 |
|
102 |
|
105 |
|
103 |
|
106 |
|
104 |
|