Added shutdown fucntion to snled driver

This commit is contained in:
lokher 2024-01-11 11:36:16 +08:00
parent 4ae5990fcc
commit cca8df6939
51 changed files with 81 additions and 2256 deletions

View file

@ -86,6 +86,10 @@ const rgb_matrix_driver_t rgb_matrix_driver = {
.flush = snled27351_flush,
.set_color = snled27351_set_color,
.set_color_all = snled27351_set_color_all,
# if defined(RGB_MATRIX_DRIVER_SHUTDOWN_ENABLE)
.shutdown = snled27351_shutdown,
.exit_shutdown = snled27351_exit_shutdown
# endif
};
#elif defined(RGB_MATRIX_SNLED27351_SPI)
const rgb_matrix_driver_t rgb_matrix_driver = {