Fix Wear Leveling compilation (#25254)

This commit is contained in:
Joel Challis 2025-05-11 23:39:38 +01:00 committed by GitHub
parent 88c094908b
commit 3e7ce54902
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 19 additions and 8 deletions

View file

@ -3,6 +3,7 @@
#include <stdbool.h>
#include "fnv.h"
#include "wear_leveling.h"
#include "wear_leveling_drivers.h"
#include "wear_leveling_internal.h"
/*

View file

@ -0,0 +1,13 @@
// Copyright 2025 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#if defined(WEAR_LEVELING_EMBEDDED_FLASH)
# include "wear_leveling/wear_leveling_efl_config.h"
#elif defined(WEAR_LEVELING_SPI_FLASH)
# include "wear_leveling/wear_leveling_flash_spi_config.h"
#elif defined(WEAR_LEVELING_RP2040_FLASH)
# include "wear_leveling/wear_leveling_rp2040_flash_config.h"
#elif defined(WEAR_LEVELING_LEGACY)
# include "wear_leveling/wear_leveling_legacy_config.h"
#endif