File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
3
+ v 2.2.1
4
+ - Resolved power consumption issues with ULP and analogRead/GZLL.
5
+ - Update documentation with better specifics as to where you put folder
6
+ (thanks Helen Holmes).
7
+
3
8
v 2.2
4
9
- Support for nonconnectable advertisement
5
10
- Corrected temperature comments (thanks DasBasti).
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ uint32_t analogRead(uint32_t ulPin)
117
117
ulValue = NRF_ADC -> RESULT ; // Read the value
118
118
ulValue = mapResolution (ulValue , ADC_RESOLUTION , _readResolution );
119
119
NRF_ADC -> ENABLE = (ADC_ENABLE_ENABLE_Disabled << ADC_ENABLE_ENABLE_Pos ); // Disable ADC
120
+ NRF_ADC -> TASKS_STOP = 1 ;
120
121
// GPIOs release regarding PAN028
121
122
NRF_ADC -> CONFIG = (ADC_CONFIG_RES_8bit << ADC_CONFIG_RES_Pos ) |
122
123
(ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling << ADC_CONFIG_INPSEL_Pos ) |
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ int RFduinoGZLLClass::begin(device_t device)
68
68
void RFduinoGZLLClass::end ()
69
69
{
70
70
RFduinoGZLL_end ();
71
+ NRF_RADIO->TASKS_RSSISTOP = 1 ;
71
72
}
72
73
73
74
bool RFduinoGZLLClass::sendToHost (const char *data, int len)
You can’t perform that action at this time.
0 commit comments