Bootloader: do not configure clock on start, just minimum LL init. (#269)

* Bootloader: do not configure clock on start, just minimum LL init.
This commit is contained in:
あく
2020-12-18 20:51:08 +03:00
committed by GitHub
parent aa1a893d81
commit dde163fa61
2 changed files with 4 additions and 39 deletions

View File

@@ -598,7 +598,7 @@ extern "C" void cc1101_workaround(void* p) {
true, true, true, false, true, false, true};
for(uint8_t n = 0; n < 10; n++) {
for(uint8_t i = 0; i < sizeof(SEQ)/sizeof(SEQ[0]); i++) {
for(uint8_t i = 0; i < sizeof(SEQ) / sizeof(SEQ[0]); i++) {
if(SEQ[i]) {
gpio_write(&cc1101_g0_gpio, false);
delay_us(ONE_ON);
@@ -614,7 +614,7 @@ extern "C" void cc1101_workaround(void* p) {
osDelay(4);
}
gpio_write(&cc1101_g0_gpio, false);
}