1
0
Fork 0

Make Bluefruit SPI settings more friendly

This commit is contained in:
Drashna Jael're 2024-01-08 04:01:04 -08:00
parent 9240a6ba90
commit 01443aee14
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11

View file

@ -29,7 +29,11 @@
#endif #endif
#ifndef BLUEFRUIT_LE_SCK_DIVISOR #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 #endif
#define SAMPLE_BATTERY #define SAMPLE_BATTERY