diff options
| author | Dave Hylands | 2014-03-14 00:51:26 -0700 |
|---|---|---|
| committer | Dave Hylands | 2014-03-14 09:48:49 -0700 |
| commit | 0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 (patch) | |
| tree | 0d36bb17c7bbb00c14a61a072d667162d7c9ff8f /stmhal/boards/PYBOARD3 | |
| parent | 33bdd2119d9ca28404acc2b0891d5a74997a0d05 (diff) | |
stmhal - add led support. Add netduino_plus_2 support
Tweaked a couple of the USB files to compile if neither dev nor host was defined.
Tested on netduiono plus 2 and stm32f4discovery boards
Diffstat (limited to 'stmhal/boards/PYBOARD3')
| -rw-r--r-- | stmhal/boards/PYBOARD3/mpconfigboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/boards/PYBOARD3/mpconfigboard.h b/stmhal/boards/PYBOARD3/mpconfigboard.h index 29e23eaab..6b15b2015 100644 --- a/stmhal/boards/PYBOARD3/mpconfigboard.h +++ b/stmhal/boards/PYBOARD3/mpconfigboard.h @@ -26,7 +26,7 @@ #define PYB_LED3 (pin_C4) // G1 - green #define PYB_LED4 (pin_C5) // G2 - green -#define PYB_OTYPE (GPIO_OType_PP) +#define PYB_OTYPE (GPIO_MODE_OUTPUT_PP) #define PYB_LED_ON(pin) (pin->gpio->BSRRH = pin->pin_mask) #define PYB_LED_OFF(pin) (pin->gpio->BSRRL = pin->pin_mask) |
