summaryrefslogtreecommitdiffstats
path: root/quantum/os_detection.h
diff options
context:
space:
mode:
authorngs-ch <125195794+ngs-ch@users.noreply.github.com>2023-04-04 07:48:51 +0900
committerGitHub <noreply@github.com>2023-04-04 08:48:51 +1000
commitccda5d2d2f0b2e71e16d72636622743a68757b50 (patch)
tree955ad43e25268dbe452514a92904be6af32fc33f /quantum/os_detection.h
parentd82c6648f50d72820effce6077084c8a2dce1b18 (diff)
Make "detected_host_os()" available on the SLAVE side of the split keyboard (#19854)
Co-authored-by: ngs.ch <ngs.ch> Co-authored-by: Drashna Jaelre <drashna@drashna.net>
Diffstat (limited to 'quantum/os_detection.h')
-rw-r--r--quantum/os_detection.h4
1 files changed, 4 insertions, 0 deletions
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