mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-08 17:02:06 +00:00
ducky: cosmetics
This commit is contained in:
parent
acfa4c309d
commit
3ac4eb8fd9
@ -626,19 +626,13 @@ OSAL_IRQ_HANDLER(NUC123_PWMA_HANDLER) {
|
||||
OSAL_IRQ_EPILOGUE();
|
||||
}
|
||||
|
||||
static void init( void )
|
||||
{
|
||||
MBI5042GP_init();
|
||||
}
|
||||
static void init(void) { MBI5042GP_init(); }
|
||||
|
||||
static void flush( void )
|
||||
{
|
||||
MBI5042GP_write_pwm_buffers();
|
||||
}
|
||||
static void flush(void) { MBI5042GP_write_pwm_buffers(); }
|
||||
|
||||
const rgb_matrix_driver_t rgb_matrix_driver = {
|
||||
.init = init,
|
||||
.flush = flush,
|
||||
.set_color = MBI5042GP_set_color,
|
||||
.init = init,
|
||||
.flush = flush,
|
||||
.set_color = MBI5042GP_set_color,
|
||||
.set_color_all = MBI5042GP_set_color_all,
|
||||
};
|
||||
|
@ -59,7 +59,7 @@ void MBI5042GP_disable_row(int row);
|
||||
void MBI5042GP_enable_row(int row);
|
||||
|
||||
// Lightness curve using the CIE 1931 lightness formula
|
||||
//Generated by the python script provided in http://jared.geek.nz/2013/feb/linear-led-pwm
|
||||
// Generated by the python script provided in http://jared.geek.nz/2013/feb/linear-led-pwm
|
||||
const uint16_t CIE1931_16_CURVE[] PROGMEM = {
|
||||
0, 7, 14, 21, 28, 36, 43, 50, 57, 64,
|
||||
71, 78, 85, 93, 100, 107, 114, 121, 128, 135,
|
||||
|
@ -7,8 +7,6 @@ RGB_KEYCODES_ENABLE := yes
|
||||
OPT_DEFS += -DRGB_MATRIX_ENABLE
|
||||
OPT_DEFS += -DMBI5042
|
||||
|
||||
# MCU name
|
||||
#MCU = at90usb1286
|
||||
MCU_FAMILY = NUMICRO
|
||||
MCU_SERIES = NUC123SD4AN0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user