diff --git a/keyboards/ducky/one2mini/mbi5042gp.c b/keyboards/ducky/one2mini/mbi5042gp.c index 01fab249c50..5a84dfe5714 100644 --- a/keyboards/ducky/one2mini/mbi5042gp.c +++ b/keyboards/ducky/one2mini/mbi5042gp.c @@ -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, }; diff --git a/keyboards/ducky/one2mini/mbi5042gp.h b/keyboards/ducky/one2mini/mbi5042gp.h index ddc39c57610..1735c07acaf 100644 --- a/keyboards/ducky/one2mini/mbi5042gp.h +++ b/keyboards/ducky/one2mini/mbi5042gp.h @@ -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, diff --git a/keyboards/ducky/one2mini/rules.mk b/keyboards/ducky/one2mini/rules.mk index a4552c09153..8687f299f8d 100644 --- a/keyboards/ducky/one2mini/rules.mk +++ b/keyboards/ducky/one2mini/rules.mk @@ -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