From 66e40529aa9271c76d207fb8190ad76bb5cf8d6b Mon Sep 17 00:00:00 2001 From: Martin Sandiford Date: Fri, 27 Apr 2018 05:40:03 +0930 Subject: Change handling of adjust layer to make it more LT(...) friendly. (#1625) * Change handling of adjust layer to make it more LT(...) friendly. * Update based on feedback from drashna. * Change handling of adjust layer to make it more LT(...) friendly. This reworks handling to make it a little more friendly to include in keymaps. --- quantum/quantum.c | 12 +++++++----- quantum/quantum.h | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'quantum') diff --git a/quantum/quantum.c b/quantum/quantum.c index 5a2a73d4a2..2662e5ef1c 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -780,12 +780,14 @@ void set_single_persistent_default_layer(uint8_t default_layer) { default_layer_set(1U<