mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-13 06:32:26 +00:00
8073992925
* RFID: pull antenna down when emulating * Rfid: fixed HID emulation by adding zero pulse every 4 bits * Rfid: HID emulation fixed with DSP based FSK oscillator. * Rfid: receive 125KHz clock for emulation timer from antenna and comparator * Rfid: commented unused variable * Firmware: rollback changes in f6. * Add F7 target based on F6. * F7/F6: update cube projects, apply changes to the targets, update linker scripts with correct RAM start values. * FuriHal: RFID init routine. * Scripts: update OTP tool for v11 board Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
13 lines
333 B
C
13 lines
333 B
C
#include <furi-hal-vibro.h>
|
|
#include <furi-hal-gpio.h>
|
|
|
|
void furi_hal_vibro_init() {
|
|
hal_gpio_init(&vibro_gpio, GpioModeOutputPushPull, GpioPullNo, GpioSpeedLow);
|
|
hal_gpio_write(&vibro_gpio, false);
|
|
FURI_LOG_I("FuriHalVibro", "Init OK");
|
|
|
|
}
|
|
|
|
void furi_hal_vibro_on(bool value) {
|
|
hal_gpio_write(&vibro_gpio, value);
|
|
}
|