Skip to content

Commit

Permalink
avr
Browse files Browse the repository at this point in the history
  • Loading branch information
daskygit committed Sep 9, 2024
1 parent 3137f09 commit a95fc3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions platforms/avr/drivers/spi_master.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
# define SPI_TIMEOUT 100
#endif

static pin_t currentSlavePin = NO_PIN;
static spi_cs_select_mode_t current_cs_active_low = true;
static uint8_t currentSlaveConfig = 0;
static bool currentSlave2X = false;
static pin_t currentSlavePin = NO_PIN;
static bool current_cs_active_low = true;
static uint8_t currentSlaveConfig = 0;
static bool currentSlave2X = false;

static inline spi_select(void) {
static inline void spi_select(void) {
gpio_write_pin(currentSlavePin, current_cs_active_low ? 0 : 1);
}

Expand Down

0 comments on commit a95fc3c

Please sign in to comment.