mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Fix compiler warnings in xcore ports
The port set and clear interrupt mask from ISR macros were removed from the ports so that the default macros found in FreeRTOS.h are used instead. The default macros do not result in warnings when they are used.
This commit is contained in:
parent
bec63029ef
commit
a7e29d3b98
3 changed files with 0 additions and 5 deletions
|
@ -110,8 +110,6 @@ do \
|
|||
#define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get()
|
||||
#define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all()
|
||||
#define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all()
|
||||
#define portSET_INTERRUPT_MASK_FROM_ISR() 0
|
||||
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x)
|
||||
/*
|
||||
* Will enable interrupts if ulState is non-zero.
|
||||
*/
|
||||
|
|
|
@ -110,8 +110,6 @@ do \
|
|||
#define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get()
|
||||
#define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all()
|
||||
#define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all()
|
||||
#define portSET_INTERRUPT_MASK_FROM_ISR() 0
|
||||
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x)
|
||||
/*
|
||||
* Will enable interrupts if ulState is non-zero.
|
||||
*/
|
||||
|
|
1
timers.c
1
timers.c
|
@ -1,7 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS Kernel V10.4.3
|
||||
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue