remove trailing whitespaces.

This commit is contained in:
jun2sak 2021-02-26 09:11:35 +09:00
parent 7fd4648cd5
commit 0f8c96f424

View File

@ -53,12 +53,12 @@ void set_memory_retention(void) {
// nRF52840 has RAM[0..7].Section[0..1] and RAM[8].Section[0..5] // nRF52840 has RAM[0..7].Section[0..1] and RAM[8].Section[0..5]
// nRF52833 has RAM[0..7].Section[0..1] and RAM[8].Section[0,1] // nRF52833 has RAM[0..7].Section[0..1] and RAM[8].Section[0,1]
for(int block = 0; block <= 7; ++block) { for(int block = 0; block <= 7; ++block) {
nrf_power_rampower_mask_on(NRF_POWER, block, nrf_power_rampower_mask_on(NRF_POWER, block,
NRF_POWER_RAMPOWER_S0RETENTION_MASK | NRF_POWER_RAMPOWER_S0RETENTION_MASK |
NRF_POWER_RAMPOWER_S1RETENTION_MASK); NRF_POWER_RAMPOWER_S1RETENTION_MASK);
}; };
#ifdef NRF52840 #ifdef NRF52840
nrf_power_rampower_mask_on(NRF_POWER, 8, nrf_power_rampower_mask_on(NRF_POWER, 8,
NRF_POWER_RAMPOWER_S0RETENTION_MASK | NRF_POWER_RAMPOWER_S0RETENTION_MASK |
NRF_POWER_RAMPOWER_S1RETENTION_MASK | NRF_POWER_RAMPOWER_S1RETENTION_MASK |
NRF_POWER_RAMPOWER_S2RETENTION_MASK | NRF_POWER_RAMPOWER_S2RETENTION_MASK |
@ -67,7 +67,7 @@ void set_memory_retention(void) {
NRF_POWER_RAMPOWER_S5RETENTION_MASK); NRF_POWER_RAMPOWER_S5RETENTION_MASK);
#endif #endif
#ifdef NRF52833 #ifdef NRF52833
nrf_power_rampower_mask_on(NRF_POWER, 8, nrf_power_rampower_mask_on(NRF_POWER, 8,
NRF_POWER_RAMPOWER_S0RETENTION_MASK | NRF_POWER_RAMPOWER_S0RETENTION_MASK |
NRF_POWER_RAMPOWER_S1RETENTION_MASK); NRF_POWER_RAMPOWER_S1RETENTION_MASK);
#endif #endif