mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-07-29 01:03:57 +00:00
msp430_GCC: Make interrupts return void (#1146)
If a return type of a function is not specified, it defaults to int. Set the return type of interrupts to void to avoid warnings.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* FreeRTOS V202212.00
|
||||
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* 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
|
||||
@@ -60,8 +60,8 @@ static QueueHandle_t xCharsForTx;
|
||||
static volatile short sTHREEmpty;
|
||||
|
||||
/* Interrupt service routines. */
|
||||
interrupt (UART1RX_VECTOR) wakeup vRxISR( void );
|
||||
interrupt (UART1TX_VECTOR) wakeup vTxISR( void );
|
||||
interrupt (USART1RX_VECTOR) wakeup void vRxISR( void );
|
||||
interrupt (USART1TX_VECTOR) wakeup void vTxISR( void );
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
@@ -185,7 +185,7 @@ signed portBASE_TYPE xReturn;
|
||||
/*
|
||||
* UART RX interrupt service routine.
|
||||
*/
|
||||
interrupt (UART1RX_VECTOR) wakeup vRxISR( void )
|
||||
interrupt (USART1RX_VECTOR) wakeup void vRxISR( void )
|
||||
{
|
||||
signed char cChar;
|
||||
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||
@@ -209,7 +209,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||
/*
|
||||
* UART Tx interrupt service routine.
|
||||
*/
|
||||
interrupt (UART1TX_VECTOR) wakeup vTxISR( void )
|
||||
interrupt (USART1TX_VECTOR) wakeup void vTxISR( void )
|
||||
{
|
||||
signed char cChar;
|
||||
portBASE_TYPE xTaskWoken = pdFALSE;
|
||||
|
||||
Submodule FreeRTOS/Source updated: bd0f87c18b...ca907b445b
@@ -5,7 +5,7 @@ license: "MIT"
|
||||
|
||||
dependencies:
|
||||
- name: "FreeRTOS-Kernel"
|
||||
version: "bd0f87c18"
|
||||
version: "ca907b445"
|
||||
repository:
|
||||
type: "git"
|
||||
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
|
||||
|
||||
Reference in New Issue
Block a user