Skip to content

Commit bc6fc04

Browse files
committed
Added correct guards for stm32f4
1 parent d3ec225 commit bc6fc04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/stm32f4/Servo.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
* SOFTWARE.
2525
*****************************************************************************/
2626

27+
#if defined(ARDUINO_ARCH_STM32F4)
28+
2729
#include "ServoTimers.h"
2830

2931
#include "boards.h"
@@ -188,3 +190,5 @@ void Servo::resetFields(void) {
188190
this->minPW = MIN_PULSE_WIDTH;
189191
this->maxPW = MAX_PULSE_WIDTH;
190192
}
193+
194+
#endif

0 commit comments

Comments
 (0)