mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Fix up compilation issues. (#14095)
This commit is contained in:
parent
ce379ef458
commit
afd3bcbf45
|
@ -31,6 +31,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "wait.h"
|
#include "wait.h"
|
||||||
|
#include "debug.h"
|
||||||
|
#include "timer.h"
|
||||||
#include "spi_master.h"
|
#include "spi_master.h"
|
||||||
#include "eeprom.h"
|
#include "eeprom.h"
|
||||||
#include "eeprom_spi.h"
|
#include "eeprom_spi.h"
|
||||||
|
@ -50,11 +52,6 @@
|
||||||
# define EXTERNAL_EEPROM_SPI_TIMEOUT 100
|
# define EXTERNAL_EEPROM_SPI_TIMEOUT 100
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONSOLE_ENABLE) && defined(DEBUG_EEPROM_OUTPUT)
|
|
||||||
# include "timer.h"
|
|
||||||
# include "debug.h"
|
|
||||||
#endif // CONSOLE_ENABLE
|
|
||||||
|
|
||||||
static bool spi_eeprom_start(void) { return spi_start(EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN, EXTERNAL_EEPROM_SPI_LSBFIRST, EXTERNAL_EEPROM_SPI_MODE, EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR); }
|
static bool spi_eeprom_start(void) { return spi_start(EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN, EXTERNAL_EEPROM_SPI_LSBFIRST, EXTERNAL_EEPROM_SPI_MODE, EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR); }
|
||||||
|
|
||||||
static spi_status_t spi_eeprom_wait_while_busy(int timeout) {
|
static spi_status_t spi_eeprom_wait_while_busy(int timeout) {
|
||||||
|
|
Loading…
Reference in a new issue