|
3 | 3 | //
|
4 | 4 | // Copyright (c) 2011-2012, ShumaTech
|
5 | 5 | // All rights reserved.
|
6 |
| -// |
| 6 | +// |
7 | 7 | // Redistribution and use in source and binary forms, with or without
|
8 | 8 | // modification, are permitted provided that the following conditions are met:
|
9 | 9 | // * Redistributions of source code must retain the above copyright
|
|
14 | 14 | // * Neither the name of the <organization> nor the
|
15 | 15 | // names of its contributors may be used to endorse or promote products
|
16 | 16 | // derived from this software without specific prior written permission.
|
17 |
| -// |
| 17 | +// |
18 | 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19 | 19 | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20 | 20 | // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
@@ -93,10 +93,10 @@ class Flash
|
93 | 93 | virtual uint32_t numPages() { return _pages; }
|
94 | 94 | virtual uint32_t numPlanes() { return _planes; }
|
95 | 95 |
|
96 |
| - //Usually all the bootloaders are in ROM and the application is flashed |
97 |
| - //in page 0.But for some types of Flash, it could be different and will |
98 |
| - //be overrided in the derived class |
99 |
| - virtual uint16_t appStartPage() { return 0;} |
| 96 | + // Usually all the bootloaders are in ROM and the application is flashed |
| 97 | + // in page 0. But for some types of Flash, it could be different and will |
| 98 | + // be overrided in the derived class |
| 99 | + virtual uint16_t appStartPage() { return 0; } |
100 | 100 |
|
101 | 101 | virtual void eraseAll() = 0;
|
102 | 102 | virtual void eraseAuto(bool enable) = 0;
|
|
0 commit comments