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

cpu/atmega_common: Drop legacy include

Drop `#include "irq.h"` in `cpu.h`, which was there for a legacy work around.
A bunch of missing includes of `irq.h` materialized due to this and were
fixed.
This commit is contained in:
Marian Buschsieweke 2020-05-15 10:49:57 +02:00
parent 70f24edd03
commit 4d1a5b9256
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
4 changed files with 4 additions and 6 deletions

View File

@ -24,6 +24,7 @@
#include "board.h"
#include "cpu.h"
#include "irq.h"
/**
* @brief Initialize the boards on-board LEDs (green and red)

View File

@ -19,9 +19,10 @@
#include <sys/stat.h>
#include <unistd.h>
#include "irq.h"
#ifdef MODULE_VFS
#include <fcntl.h>
#include "irq.h"
#include "vfs.h"
#elif defined(MODULE_STDIO_UART)
#include "stdio_uart.h"

View File

@ -37,11 +37,6 @@
#include "cpu_conf.h"
#include "sched.h"
#include "thread.h"
/**
* For downwards compatibility with old RIOT code.
* TODO: remove once core was adjusted
*/
#include "irq.h"
#ifdef __cplusplus
extern "C"

View File

@ -32,6 +32,7 @@
*/
#include "cpu.h"
#include "irq.h"
#include "sched.h"
#include "thread.h"