mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Merge pull request #8671 from mikeller/fix_dshot_includes
Fixed includes for Dshot.
This commit is contained in:
commit
c92367b18d
2 changed files with 5 additions and 3 deletions
|
@ -62,6 +62,9 @@ uint8_t cliMode = 0;
|
|||
#include "drivers/buf_writer.h"
|
||||
#include "drivers/bus_spi.h"
|
||||
#include "drivers/dma_reqmap.h"
|
||||
#include "drivers/dshot.h"
|
||||
#include "drivers/dshot_command.h"
|
||||
#include "drivers/dshot_dpwm.h"
|
||||
#include "drivers/camera_control.h"
|
||||
#include "drivers/compass/compass.h"
|
||||
#include "drivers/display.h"
|
||||
|
@ -72,9 +75,6 @@ uint8_t cliMode = 0;
|
|||
#include "drivers/io_impl.h"
|
||||
#include "drivers/light_led.h"
|
||||
#include "drivers/motor.h"
|
||||
#include "drivers/dshot.h"
|
||||
#include "drivers/dshot_dpwm.h"
|
||||
#include "drivers/dshot_command.h"
|
||||
#include "drivers/rangefinder/rangefinder_hcsr04.h"
|
||||
#include "drivers/sdcard.h"
|
||||
#include "drivers/sensor.h"
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "drivers/motor.h"
|
||||
|
||||
#define MOTOR_DSHOT1200_HZ MHZ_TO_HZ(24)
|
||||
#define MOTOR_DSHOT600_HZ MHZ_TO_HZ(12)
|
||||
#define MOTOR_DSHOT300_HZ MHZ_TO_HZ(6)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue