Merge pull request #2768 from mikeller/fix_get_reverted

Fixed GET_REVERTED.
This commit is contained in:
Michael Keller 2017-03-30 01:09:32 +13:00 committed by GitHub
commit 13da4de774
1 changed files with 1 additions and 1 deletions

View File

@ -41,4 +41,4 @@ typedef enum {
#define ANGLE_INDEX_COUNT 2
#define GET_DIRECTION(isInverted) (2 * (isInverted) - 1)
#define GET_DIRECTION(isReversed) ((isReversed) ? -1 : 1)