summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgenii Vilkov <zzeneg@gmail.com>2023-05-31 20:46:03 +0200
committerGitHub <noreply@github.com>2023-05-31 11:46:03 -0700
commit04719c774d895d0cec3bcbe69291d32916280b08 (patch)
treef332e676fa943810f7a9f64e9d68f209aa720992
parentb3a7f80e1ad3491bd7f58dad518554717126c1b9 (diff)
Fix backlight sync on suspend_power_down for split keyboards (#21079)
-rw-r--r--quantum/quantum.c2
-rw-r--r--quantum/split_common/transactions.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 091cf298f7..fe3e85720d 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -468,7 +468,7 @@ void suspend_power_down_quantum(void) {
#ifndef NO_SUSPEND_POWER_DOWN
// Turn off backlight
# ifdef BACKLIGHT_ENABLE
- backlight_set(0);
+ backlight_level_noeeprom(0);
# endif
# ifdef LED_MATRIX_ENABLE
diff --git a/quantum/split_common/transactions.c b/quantum/split_common/transactions.c
index b3c80f1194..8cd018a6ec 100644
--- a/quantum/split_common/transactions.c
+++ b/quantum/split_common/transactions.c
@@ -412,7 +412,7 @@ static void backlight_handlers_slave(matrix_row_t master_matrix[], matrix_row_t
uint8_t backlight_level = split_shmem->backlight_level;
split_shared_memory_unlock();
- backlight_set(backlight_level);
+ backlight_level_noeeprom(backlight_level);
}
# define TRANSACTIONS_BACKLIGHT_MASTER() TRANSACTION_HANDLER_MASTER(backlight)