mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-09 01:12:06 +00:00
ducky: cosmetics
This commit is contained in:
parent
acfa4c309d
commit
3ac4eb8fd9
@ -626,15 +626,9 @@ OSAL_IRQ_HANDLER(NUC123_PWMA_HANDLER) {
|
|||||||
OSAL_IRQ_EPILOGUE();
|
OSAL_IRQ_EPILOGUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init( void )
|
static void init(void) { MBI5042GP_init(); }
|
||||||
{
|
|
||||||
MBI5042GP_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void flush( void )
|
static void flush(void) { MBI5042GP_write_pwm_buffers(); }
|
||||||
{
|
|
||||||
MBI5042GP_write_pwm_buffers();
|
|
||||||
}
|
|
||||||
|
|
||||||
const rgb_matrix_driver_t rgb_matrix_driver = {
|
const rgb_matrix_driver_t rgb_matrix_driver = {
|
||||||
.init = init,
|
.init = init,
|
||||||
|
@ -59,7 +59,7 @@ void MBI5042GP_disable_row(int row);
|
|||||||
void MBI5042GP_enable_row(int row);
|
void MBI5042GP_enable_row(int row);
|
||||||
|
|
||||||
// Lightness curve using the CIE 1931 lightness formula
|
// 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 = {
|
const uint16_t CIE1931_16_CURVE[] PROGMEM = {
|
||||||
0, 7, 14, 21, 28, 36, 43, 50, 57, 64,
|
0, 7, 14, 21, 28, 36, 43, 50, 57, 64,
|
||||||
71, 78, 85, 93, 100, 107, 114, 121, 128, 135,
|
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 += -DRGB_MATRIX_ENABLE
|
||||||
OPT_DEFS += -DMBI5042
|
OPT_DEFS += -DMBI5042
|
||||||
|
|
||||||
# MCU name
|
|
||||||
#MCU = at90usb1286
|
|
||||||
MCU_FAMILY = NUMICRO
|
MCU_FAMILY = NUMICRO
|
||||||
MCU_SERIES = NUC123SD4AN0
|
MCU_SERIES = NUC123SD4AN0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user