Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion dshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#ifndef __DSHOT_H__
#define __DSHOT_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "tim.h" // header from stm32cubemx code generate
#include <stdbool.h>
Expand Down Expand Up @@ -69,4 +72,8 @@ void dshot_init(dshot_type_e dshot_type);
void dshot_write(uint16_t* motor_value);


#endif /* __DSHOT_H__ */
#ifdef __cplusplus
}
#endif

#endif /* __DSHOT_H__ */