mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Update sonar drivers so they do not include "board.h". It is now
clear what all sonar drivers need to compile and what was unnecessarily included before.
This commit is contained in:
parent
2f07f52cf7
commit
45ce1862cd
1 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,13 @@
|
|||
#include "board.h"
|
||||
#include "mw.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "system_common.h"
|
||||
#include "gpio_common.h"
|
||||
|
||||
#include "sonar_hcsr04.h"
|
||||
|
||||
#ifdef SONAR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue