diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-05 18:11:29 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-07 03:38:30 -0400 |
| commit | 826681214931cd53b607320a620428fb6e9d6bf1 (patch) | |
| tree | bde30708cc8f20f5e90054a5d6095599434a37b9 /support | |
| parent | 0986300f420672980e6f2d68088feae45ab9dcb8 (diff) | |
<wirish/boards.h>: Add BOARD_BUTTON_PRESSED_LEVEL.
This allows boards to override the logic level of a pressed
button. All Maple boards have a pressed button read HIGH, but if the
opposite convention is used, isButtonPressed() will infinite loop.
Make isButtonPressed() respect this setting.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions
