diff options
author | ngs-ch <[email protected]> | 2023-04-04 07:48:51 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-04 08:48:51 +1000 |
commit | ccda5d2d2f0b2e71e16d72636622743a68757b50 (patch) | |
tree | 955ad43e25268dbe452514a92904be6af32fc33f /quantum/os_detection.h | |
parent | d82c6648f50d72820effce6077084c8a2dce1b18 (diff) | |
download | qmk_firmware-ccda5d2d2f0b2e71e16d72636622743a68757b50.tar.gz qmk_firmware-ccda5d2d2f0b2e71e16d72636622743a68757b50.zip |
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 <[email protected]>
Diffstat (limited to 'quantum/os_detection.h')
-rw-r--r-- | quantum/os_detection.h | 4 |
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 |