diff --git a/cpu/esp8266/include/periph_cpu.h b/cpu/esp8266/include/periph_cpu.h
index a1d5be59738bb8e9ac587b88b644e9f29c972273..09f0c0451c49c11ee897069cc3c3fc8166cf8f69 100644
--- a/cpu/esp8266/include/periph_cpu.h
+++ b/cpu/esp8266/include/periph_cpu.h
@@ -150,13 +150,13 @@ typedef enum {
 
 #endif /* MODULE_PERIPH_SPI */
 
+/** @} */
+
 /**
  * @brief   Prevent shared timer functions from being used
  */
 #define PERIPH_TIMER_PROVIDES_SET
 
-/** @} */
-
 #ifdef __cplusplus
 }
 #endif