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>
14 lines
333 B
C
14 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);
|
|
}
|