File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
- ` subghz::Stats `
18
18
- ` subghz::Status `
19
19
20
+ ### Fixed
21
+ - Fixed an off-by-one error in ` flash::Page::addr_range ` .
22
+
20
23
### Removed
21
24
- Removed ` util::reset_cycle_count ` ; this functionality is now in ` cortex-m ` .
22
25
Original file line number Diff line number Diff line change @@ -189,14 +189,14 @@ impl Page {
189
189
/// page0.addr_range(),
190
190
/// Range {
191
191
/// start: 0x0800_0000,
192
- /// end: 0x0800_07FF
192
+ /// end: 0x0800_0800
193
193
/// }
194
194
/// );
195
195
/// ```
196
196
pub const fn addr_range ( & self ) -> Range < usize > {
197
197
Range {
198
198
start : self . addr ( ) ,
199
- end : self . addr ( ) + ( Page :: SIZE - 1 ) ,
199
+ end : self . addr ( ) + Page :: SIZE ,
200
200
}
201
201
}
202
202
}
You can’t perform that action at this time.
0 commit comments