summaryrefslogtreecommitdiff
path: root/components/backlight.c
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-23 15:29:37 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-23 19:56:16 +0200
commitf17f39d0a2e2898177dbcf5daf67284956005b9b (patch)
tree5d848ef76c4ef0dd652d4dc0b63ceaa8c19bfd1d /components/backlight.c
parent13d77cd268bade5e9ee9c07d9b94ca7c733cbe3d (diff)
Refactor keymap.c
- Get rid of camel-casing - Don't use all-caps for variable names - use LEN()-macro - use strncmp() rather than strstr() for prefix-checking - clean up the tokenizer-loop and don't use copies - make the loop more readable by separating different breaking conditions - stricter error-checking and cleanup - store the layout directly with bprintf rather than having a separate buffer
Diffstat (limited to 'components/backlight.c')
0 files changed, 0 insertions, 0 deletions