Enable OLED support for Teensy 3.2/LC (#7591)

* I2C_TIMEOUT is not defined on arm teensy

* Work round teensy having different ChibiOS config options

* Stash OLED conf files

* update comment

* update comment

* Remove stm32 alias to allow teensy alt mode

format code according to conventions [skip ci]
This commit is contained in:
Joel Challis
2020-07-25 22:50:56 +01:00
committed by Drashna Jael're
parent 215fdc39fd
commit cd0523e7d4
5 changed files with 28 additions and 10 deletions

View File

@@ -150,6 +150,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# endif
#endif
#if !defined(OLED_I2C_TIMEOUT)
# define OLED_I2C_TIMEOUT 100
#endif
// OLED Rotation enum values are flags
typedef enum {
OLED_ROTATION_0 = 0,