Update .clang-format for LLVM 14.0, available on Ubuntu 22.04. There is still plenty that clang-format sucks at or does wrong, so either add some more blocks to disable it, or just put up with it. Signed-off-by: Tim Crawford <tcrawford@system76.com>
33 lines
496 B
C
33 lines
496 B
C
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#include <board/kbled.h>
|
|
|
|
void kbled_init(void) {}
|
|
|
|
void kbled_reset(void) {}
|
|
|
|
uint8_t kbled_get(void) {
|
|
/* Always off */
|
|
return 0;
|
|
}
|
|
|
|
uint8_t kbled_max(void) {
|
|
/* Always off */
|
|
return 0;
|
|
}
|
|
|
|
void kbled_set(uint8_t level) {
|
|
/* Fix unused variable */
|
|
level = level;
|
|
}
|
|
|
|
uint32_t kbled_get_color(void) {
|
|
/* Always black */
|
|
return 0;
|
|
}
|
|
|
|
void kbled_set_color(uint32_t color) {
|
|
/* Fix unused variable */
|
|
color = color;
|
|
}
|