1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #11453 from maribu/atmega_naked

cpu/atmega_common: Fix function attributes
This commit is contained in:
Sebastian Meiling 2019-05-23 12:14:33 +02:00 committed by GitHub
commit 6b16df0dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,6 @@ void thread_stack_print(void)
printf("stack size: %u bytes\n", size);
}
void cpu_switch_context_exit(void) __attribute__((naked));
void cpu_switch_context_exit(void)
{
sched_run();
@ -212,7 +211,6 @@ extern char *__brkval;
/**
* @brief Set the MCU into Thread-Mode and load the initial task from the stack and run it
*/
void NORETURN __enter_thread_mode(void) __attribute__((naked));
void NORETURN __enter_thread_mode(void)
{
irq_enable();