Reduce STM32F4 compile warnings

This commit is contained in:
Scott Lahteine
2018-10-01 04:31:30 -05:00
parent ccef14e2b2
commit 606a4362b3
3 changed files with 3 additions and 1 deletions

View File

@ -110,6 +110,7 @@
#define NUM_SERIAL 1
#endif
#undef _BV
#define _BV(b) (1 << (b))
/**

View File

@ -29,6 +29,7 @@
#ifndef _FASTIO_STM32F4_H
#define _FASTIO_STM32F4_H
#undef _BV
#define _BV(b) (1 << (b))
#define USEABLE_HARDWARE_PWM(p) true