Make Bluefruit SPI settings more friendly

This commit is contained in:
Drashna Jael're 2024-01-08 04:01:04 -08:00
parent d57b4ba37b
commit 5d2f173b4e
No known key found for this signature in database
GPG Key ID: DBA1FD3A860D1B11

View File

@ -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