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:
Forty-Bot 2023-12-26 13:40:28 -05:00 committed by GitHub
parent 31d6ace7e0
commit 85ed21bcfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -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;

@ -1 +1 @@
Subproject commit bd0f87c18b292f45ebf4d4b4c5bb96765465f760
Subproject commit ca907b445b52f5814705761cf63cb2ef5e43605a

View file

@ -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"