~ruther/CTU-FEE-B0B35APO-Semestral-project

50cf3199857b9c0f7139e66ec4095400be6a05f5 — František Boháček 3 years ago 612a284
refactor: commands size and count types
1 files changed, 6 insertions(+), 2 deletions(-)

M lib-pheripherals/include/input.h
M lib-pheripherals/include/input.h => lib-pheripherals/include/input.h +6 -2
@@ 43,8 43,8 @@ typedef struct {

typedef struct {
  command_t *commands;
  uint8_t count;
  uint8_t size;
  uint16_t count;
  uint16_t size;

  rotation_encoders_t encoders;
} commands_t;


@@ 96,4 96,8 @@ bool commands_unregister(commands_t *commands, command_t *command);
 */
short commands_check_input(commands_t *commands);

uint16_t commands_save_state(commands_t *commands);

bool commands_restore_state(commands_t *commands, uint16_t state);

#endif // __INPUT_H__

Do not follow this link