move bootloader retrieval to common init()

This commit is contained in:
hathach committed 2017-06-29 14:44:02 +07:00
1 parent 79402524e9
commit f42bea8d8f
7 files changed
+20 -21

No files matched your search

-5
View File
@@ -116,11 +116,6 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (25u)
#define PIN_WIRE_SCL (26u)
/* Bootloader version, may move to other file. Assigned by
* initVariant() upon running.
* - value of 0x000500 is version 0.5.0
*/
extern uint32_t bootloaderVersion;
static inline bool isPinValid(uint32_t pin)
{