mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-04 08:55:10 +00:00
305e7baa71
* Allow for `get_hardware_id()` to be used for serial number. * Length checks. * Explain length. * Cleanup. * Preprocessor magic. * Use the force, Batman. * Swap logic; if SERIAL_NUMBER is defined use that, otherwise derive it. * Cleanup. * Cleanup.
12 lines
329 B
C
12 lines
329 B
C
// Copyright 2023 Nick Brassel (@tzarc)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#ifndef CORTEX_ENABLE_WFI_IDLE
|
|
# define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
#endif // CORTEX_ENABLE_WFI_IDLE
|
|
|
|
#ifndef SERIAL_NUMBER_USE_HARDWARE_ID
|
|
# define SERIAL_NUMBER_USE_HARDWARE_ID TRUE
|
|
#endif // SERIAL_NUMBER_USE_HARDWARE_ID
|