From ccda5d2d2f0b2e71e16d72636622743a68757b50 Mon Sep 17 00:00:00 2001 From: ngs-ch <125195794+ngs-ch@users.noreply.github.com> Date: Tue, 4 Apr 2023 07:48:51 +0900 Subject: Make "detected_host_os()" available on the SLAVE side of the split keyboard (#19854) Co-authored-by: ngs.ch Co-authored-by: Drashna Jaelre --- quantum/os_detection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'quantum/os_detection.h') diff --git a/quantum/os_detection.h b/quantum/os_detection.h index e643dcd27f..3496ea0ed2 100644 --- a/quantum/os_detection.h +++ b/quantum/os_detection.h @@ -30,6 +30,10 @@ typedef enum { void process_wlength(const uint16_t w_length); os_variant_t detected_host_os(void); void erase_wlength_data(void); + +# if defined(SPLIT_KEYBOARD) && defined(SPLIT_DETECTED_OS_ENABLE) +void slave_update_detected_host_os(os_variant_t os); +# endif // defined(SPLIT_KEYBOARD) && defined(SPLIT_DETECTED_OS_ENABLE) #endif #ifdef OS_DETECTION_DEBUG_ENABLE -- cgit v1.2.3