You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
367 B

  1. // Copyright 2022 Stefan Kerkmann
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #if defined(PLATFORM_SUPPORTS_SYNCHRONIZATION)
  5. # if defined(SPLIT_KEYBOARD)
  6. void split_shared_memory_lock(void);
  7. void split_shared_memory_unlock(void);
  8. # endif
  9. #else
  10. inline void split_shared_memory_lock(void){};
  11. inline void split_shared_memory_unlock(void){};
  12. #endif