summaryrefslogtreecommitdiffstats
path: root/keyboards/dtisaac/dosa40rgb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-10-09 02:15:20 +1100
committerGitHub <noreply@github.com>2021-10-08 16:15:20 +0100
commitdb41a3426c594fccac149b99b810e207cd069d65 (patch)
tree56237380cb3b3b83a4f9802d975a570843984f79 /keyboards/dtisaac/dosa40rgb
parent00fd4044334022b5bbace987f8ab94b72e9f49bc (diff)
Improve Adafruit BLE configuration defines (#14749)
* Improve Adafruit BLE configuration defines * Formatting
Diffstat (limited to 'keyboards/dtisaac/dosa40rgb')
-rw-r--r--keyboards/dtisaac/dosa40rgb/config.h5
-rw-r--r--keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c4
2 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/dtisaac/dosa40rgb/config.h b/keyboards/dtisaac/dosa40rgb/config.h
index 52891c4aa5..0ed29bf941 100644
--- a/keyboards/dtisaac/dosa40rgb/config.h
+++ b/keyboards/dtisaac/dosa40rgb/config.h
@@ -30,11 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 4
#define MATRIX_COLS 11
-/* AdafruitBle Pin */
-#define AdafruitBleResetPin D4
-#define AdafruitBleCSPin B4
-#define AdafruitBleIRQPin E6
-
/*
* Keyboard Matrix Assignments
*
diff --git a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
index c9bde4bb8d..e25bd59708 100644
--- a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
+++ b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
@@ -77,7 +77,7 @@ void rgb_matrix_indicators_user(void)
void sdep_send(const uint8_t *cmd, uint8_t len) {
- spi_start(AdafruitBleCSPin, false, 0, 2);
+ spi_start(ADAFRUIT_BLE_CS_PIN, false, 0, 2);
uint8_t cnt = 200;
bool ready = false;
@@ -88,7 +88,7 @@ void sdep_send(const uint8_t *cmd, uint8_t len) {
}
spi_stop();
wait_us(25);
- spi_start(AdafruitBleCSPin, false, 0, 2);
+ spi_start(ADAFRUIT_BLE_CS_PIN, false, 0, 2);
} while (cnt--);
if (ready) {