1
0
Fork 0

OS Detection - Entire file should not be wrapped with ifdef (#23108)

This commit is contained in:
Joel Challis 2024-02-19 15:37:51 +00:00 committed by GitHub
parent 8df2e70ae4
commit 9f95577ef2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 49 deletions

View file

@ -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