haptic: correct size of reserved field in the haptic structure. This saves 1 byte of wasted SRAM. (#12483)

Co-authored-by: Drashna Jaelre <drashna@live.com>
master
Purdea Andrei 2021-05-09 06:45:41 +03:00 committed by GitHub
parent df57590ec6
commit 60a39f4f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;