Skip to content

Commit

Permalink
haptic: correct size of reserved field in the haptic structure. This …
Browse files Browse the repository at this point in the history
…saves 1 byte of wasted SRAM. (qmk#12483)

Co-authored-by: Drashna Jaelre <drashna@live.com>
  • Loading branch information
purdeaandrei and drashna committed May 9, 2021
1 parent df57590 commit 60a39f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/haptic/haptic.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typedef union {
uint8_t dwell : 7;
bool cont : 1;
uint8_t amplitude : 8;
uint16_t reserved : 7;
uint8_t reserved : 5;
};
} haptic_config_t;

Expand Down

0 comments on commit 60a39f4

Please sign in to comment.