1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/mtd_default: deprecate mtd_default_get_dev()

This commit is contained in:
Benjamin Valentin 2023-11-10 19:22:06 +01:00
parent 396d3bbe2b
commit 63cd55cc7b

View File

@ -69,6 +69,8 @@ extern mtd_emulated_t mtd_emulated_dev0;
/**
* @brief Get the default MTD device by index
*
* @deprecated Use @ref mtd_dev_get instead
*
* @param[in] idx Index of the MTD device
*
* @return MTD_0 for @p idx 0 and so on