diff options
| author | Joel Challis <git@zvecr.com> | 2020-07-25 22:50:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-26 07:50:56 +1000 |
| commit | d91987ab9adbf7bba9f47deb6b30a02d28e7195d (patch) | |
| tree | 6356f4f6c167dd2b50dec84a5124418cb9d649fc /drivers/oled/oled_driver.h | |
| parent | db540e2832b0d3bed6ae2ca3a2c893d9c79a7f5d (diff) | |
| download | qmk_firmware-d91987ab9adbf7bba9f47deb6b30a02d28e7195d.tar.gz qmk_firmware-d91987ab9adbf7bba9f47deb6b30a02d28e7195d.zip | |
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
Diffstat (limited to 'drivers/oled/oled_driver.h')
| -rw-r--r-- | drivers/oled/oled_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index af6e5a2b6..5c21c0cc8 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h | |||
| @@ -150,6 +150,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 150 | # endif | 150 | # endif |
| 151 | #endif | 151 | #endif |
| 152 | 152 | ||
| 153 | #if !defined(OLED_I2C_TIMEOUT) | ||
| 154 | # define OLED_I2C_TIMEOUT 100 | ||
| 155 | #endif | ||
| 156 | |||
| 153 | // OLED Rotation enum values are flags | 157 | // OLED Rotation enum values are flags |
| 154 | typedef enum { | 158 | typedef enum { |
| 155 | OLED_ROTATION_0 = 0, | 159 | OLED_ROTATION_0 = 0, |
