cpu/mips32r2_generic: Add PERIPH_TIMER_PROVIDES_SET

mips32r2_common already implements timer_set so it should not be provided by
periph_common/timer to avoid multiple definition errors currently hidden by the
linker.

The firmware was using the one from `mips32r2_common` before (binary checked).
So behaviour is identical.
This commit is contained in:
Joakim Nohlgård 2018-03-13 14:16:38 +01:00 committed by Gaëtan Harter
parent d6e47461ba
commit 369036760a

View File

@ -24,6 +24,11 @@ extern "C" {
#define PROVIDES_PM_SET_LOWEST
/** @} */
/**
* @brief Prevent shared timer functions from being used
*/
#define PERIPH_TIMER_PROVIDES_SET 1
#ifdef __cplusplus
}
#endif