mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-29 22:23:06 +00:00
884dba647a
* update makefiles for f3-1 * add f3-1 files * fix mk for f3 * remap OK button * differ gpio invert * expose full duplex spi2 * remove duplicate bq drivers * remove bq inc
11 lines
422 B
C
11 lines
422 B
C
#include "main.h"
|
|
#include "flipper_v2.h"
|
|
|
|
const bool input_invert[GPIO_INPUT_PINS_COUNT] = {
|
|
true, // {BUTTON_UP_GPIO_Port, BUTTON_UP_Pin},
|
|
true, // {BUTTON_DOWN_GPIO_Port, BUTTON_DOWN_Pin},
|
|
true, // {BUTTON_RIGHT_GPIO_Port, BUTTON_RIGHT_Pin},
|
|
true, // {BUTTON_LEFT_GPIO_Port, BUTTON_LEFT_Pin},
|
|
false, // {BUTTON_OK_GPIO_Port, BUTTON_OK_Pin},
|
|
true, // {BUTTON_BACK_GPIO_Port, BUTTON_BACK_Pin},
|
|
};
|