Make Bluefruit SPI settings more friendly
This commit is contained in:
parent
9240a6ba90
commit
01443aee14
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@
|
|||
#endif
|
||||
|
||||
#ifndef BLUEFRUIT_LE_SCK_DIVISOR
|
||||
# define BLUEFRUIT_LE_SCK_DIVISOR 2 // 4MHz SCK/8MHz CPU, calculated for Feather 32U4 BLE
|
||||
# ifdef __AVR__
|
||||
# define BLUEFRUIT_LE_SCK_DIVISOR (F_CPU / 4000000) // 4MHz SCK/8MHz CPU, calculated for Feather 32U4 BLE
|
||||
# else
|
||||
# define BLUEFRUIT_LE_SCK_DIVISOR 16
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define SAMPLE_BATTERY
|
||||
|
|
Loading…
Add table
Reference in a new issue