mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-21 17:20:32 -05:00
clean up warnings from "gcc -Wconversion" (#1344)
* clean up warnings from "gcc -Wconversion" clean up warnings from "gcc -Wconversion" Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com> * Fix formatting --------- Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com> Co-authored-by: Rahul Kar <karahulx@amazon.com>
This commit is contained in:
parent
0d2a5ae534
commit
1ca9fd442f
4 changed files with 13 additions and 11 deletions
|
|
@ -182,7 +182,8 @@ static void prvReceivingTask( void * pvParameters )
|
|||
void vBasicStreamBufferSendFromISR( void )
|
||||
{
|
||||
static size_t xNextByteToSend = 0;
|
||||
const BaseType_t xCallsBetweenSends = 100, xBytesToSend = 4;
|
||||
const size_t xBytesToSend = 4;
|
||||
const BaseType_t xCallsBetweenSends = 100;
|
||||
static BaseType_t xCallCount = 0;
|
||||
|
||||
/* Is it time to write to the stream buffer again? */
|
||||
|
|
|
|||
|
|
@ -783,7 +783,7 @@ static void prvSuspendedTaskTimerTestCallback( TimerHandle_t xExpiredTimer )
|
|||
|
||||
static void prvNotifyingTimerCallback( TimerHandle_t xNotUsed )
|
||||
{
|
||||
static BaseType_t uxIndexToNotify = 0;
|
||||
static UBaseType_t uxIndexToNotify = 0;
|
||||
|
||||
( void ) xNotUsed;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue