File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
3
+ v 2.3.3
4
+ - Enable C++11 support (thanks focalintent)
5
+ - Fix Print::printf("%f") with correct digits (thanks ShenggaoZhu)
6
+ - Added radioActive check to flashPageErase
7
+
3
8
v 2.3.2
4
9
- Fixes required to support Arduino 1.6.6
5
10
- Updated to the latest RFDLoaders
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ int flashPageErase( uint8_t page )
48
48
if (page <= PAGE_FROM_ADDRESS (& _etextrelocate ))
49
49
return 2 ;
50
50
51
+ // do not erase flash if the BLE radio is active
52
+ while (RFduinoBLE_radioActive )
53
+ ;
54
+
51
55
// enable flash page erase
52
56
NRF_NVMC -> CONFIG = (NVMC_CONFIG_WEN_Een << NVMC_CONFIG_WEN_Pos );
53
57
while (NRF_NVMC -> READY == NVMC_READY_READY_Busy )
@@ -79,7 +83,7 @@ int flashWrite( uint32_t *address, uint32_t value )
79
83
if (page <= PAGE_FROM_ADDRESS (& _etextrelocate ))
80
84
return 2 ;
81
85
82
- // do not write to flash in the BLE radio is active
86
+ // do not write to flash if the BLE radio is active
83
87
while (RFduinoBLE_radioActive )
84
88
;
85
89
You can’t perform that action at this time.
0 commit comments