mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-22 02:33:10 +00:00
f58b322bb5
* enable transparent mode * rssi ok, transmit ok, fifo ok * I see the signal * successful async rx (registers from smartrf) * refactor rfstudio register config * rewrite config, found some issues * handle G0 interrupts * g0 irq enable after cc1101 init * update cube
16 lines
436 B
C
16 lines
436 B
C
#pragma once
|
|
#include "main.h"
|
|
#include "flipper_v2.h"
|
|
|
|
#define DEBOUNCE_TICKS 10
|
|
#define GPIO_INPUT_PINS_COUNT 6
|
|
|
|
extern const GpioPin input_gpio[GPIO_INPUT_PINS_COUNT];
|
|
extern const bool input_invert[GPIO_INPUT_PINS_COUNT];
|
|
|
|
extern const GpioPin led_gpio[3];
|
|
extern const GpioPin backlight_gpio;
|
|
extern const GpioPin sd_cs_gpio;
|
|
extern const GpioPin vibro_gpio;
|
|
extern const GpioPin ibutton_gpio;
|
|
extern const GpioPin cc1101_g0_gpio;
|