flipperzero-firmware/firmware/targets/f3/f3-1/Src/target-resources.c
coreglitch 884dba647a
FL-409 Boot0 OK button (#257)
* 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
2020-12-02 16:40:06 +03:00

12 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},
};