diff options
author | Joel Challis <git@zvecr.com> | 2024-02-19 15:37:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 15:37:51 +0000 |
commit | 9f95577ef2bfff55bf4f5d19c3dc58ea0f09e014 (patch) | |
tree | 9cab3a01fd4e1f8f6b99cdddd0b9ff49631962bb /quantum/os_detection.h | |
parent | 8df2e70ae475841543e468c7d1660957367fe74d (diff) |
OS Detection - Entire file should not be wrapped with ifdef (#23108)
Diffstat (limited to 'quantum/os_detection.h')
-rw-r--r-- | quantum/os_detection.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/quantum/os_detection.h b/quantum/os_detection.h index 470f30943a..b8cd898335 100644 --- a/quantum/os_detection.h +++ b/quantum/os_detection.h @@ -16,11 +16,9 @@ #pragma once -#ifdef OS_DETECTION_ENABLE - -# include <stdint.h> -# include <stdbool.h> -# include "usb_device_state.h" +#include <stdint.h> +#include <stdbool.h> +#include "usb_device_state.h" typedef enum { OS_UNSURE, @@ -40,13 +38,11 @@ void os_detection_task(void); bool process_detected_host_os_kb(os_variant_t os); bool process_detected_host_os_user(os_variant_t os); -# if defined(SPLIT_KEYBOARD) && defined(SPLIT_DETECTED_OS_ENABLE) +#if defined(SPLIT_KEYBOARD) && defined(SPLIT_DETECTED_OS_ENABLE) void slave_update_detected_host_os(os_variant_t os); -# endif +#endif -# ifdef OS_DETECTION_DEBUG_ENABLE +#ifdef OS_DETECTION_DEBUG_ENABLE void print_stored_setups(void); void store_setups_in_eeprom(void); -# endif - -#endif // OS_DETECTION_ENABLE +#endif |