Browse Source
Merge pull request #441 from oltaco/heltecv3-spi_begin_fix
fix: remove extra spi.begin() on heltec v3
pull/442/head
ripplebiz
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
1 deletions
-
variants/heltec_v3/target.cpp
|
|
@ -32,7 +32,6 @@ bool radio_init() { |
|
|
rtc_clock.begin(Wire); |
|
|
rtc_clock.begin(Wire); |
|
|
|
|
|
|
|
|
#if defined(P_LORA_SCLK) |
|
|
#if defined(P_LORA_SCLK) |
|
|
spi.begin(P_LORA_SCLK, P_LORA_MISO, P_LORA_MOSI); |
|
|
|
|
|
return radio.std_init(&spi); |
|
|
return radio.std_init(&spi); |
|
|
#else |
|
|
#else |
|
|
return radio.std_init(); |
|
|
return radio.std_init(); |
|
|
|