Remove KEY_STATE_SIZE in favor of the more general BOOL_BYTES_TO_BITS_COUNT() macro.

This commit is contained in:
László Monda
2017-09-30 00:57:10 +02:00
parent abc1923897
commit ea71253d6a
4 changed files with 5 additions and 4 deletions

View File

@@ -12,8 +12,6 @@
#define PROTOCOL_RESPONSE_SUCCESS 0
#define PROTOCOL_RESPONSE_GENERIC_ERROR 1
#define KEY_STATE_SIZE (MODULE_KEY_COUNT/8 + (MODULE_KEY_COUNT % 8 ? 1 : 0))
// Variables:
extern i2c_message_t RxMessage;