logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

synchronization_util.c (504B)


  1. // Copyright 2023 Sergey Vlasov (@sigprof)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "synchronization_util.h"
  4. // Generate out-of-line copies for inline functions defined in synchronization_util.h.
  5. #if !defined(PLATFORM_SUPPORTS_SYNCHRONIZATION)
  6. # if defined(SPLIT_KEYBOARD)
  7. extern inline void split_shared_memory_lock(void);
  8. extern inline void split_shared_memory_unlock(void);
  9. # endif
  10. #endif
  11. #if defined(SPLIT_KEYBOARD)
  12. QMK_IMPLEMENT_AUTOUNLOCK_HELPERS(split_shared_memory)
  13. #endif