Skip to content

Commit

Permalink
Update xbus.c
Browse files Browse the repository at this point in the history
Changed the definition of xBusTimeInterval to be signed
  • Loading branch information
TheNige069 authored Jan 22, 2025
1 parent b6eb2dd commit bb7b84d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/rx/xbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ static void xBusDataReceive(uint16_t c, void *data)
{
UNUSED(data);

static timeUs_t xBusTimeLast, xBusTimeInterval;
static timeUs_t xBusTimeLast;
static timeDelta_t xBusTimeInterval;

// Check if we shall reset frame position due to time
const timeUs_t now = microsISR();
Expand Down

0 comments on commit bb7b84d

Please sign in to comment.