1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-08-16 13:21:58 +03:00

Lower default SPI frequency to 8 MHz (from 10 MHz)

This commit is contained in:
Sandeep Mistry
2017-04-23 20:38:04 -04:00
parent df0f6994b2
commit 73e42aca9c
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
#define MAX_PKT_LENGTH 255
LoRaClass::LoRaClass() :
_spiSettings(10E6, MSBFIRST, SPI_MODE0),
_spiSettings(8E6, MSBFIRST, SPI_MODE0),
_ss(LORA_DEFAULT_SS_PIN), _reset(LORA_DEFAULT_RESET_PIN), _dio0(LORA_DEFAULT_DIO0_PIN),
_frequency(0),
_packetIndex(0),