NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rc_unittest.cc File Reference
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#include <platform.h>
#include "config/config.h"
#include "rx/rx.h"
#include "flight/failsafe.h"
#include "common/maths.h"
#include "ninja.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Include dependency graph for rc_unittest.cc:

Data Structures

class  RcTest
 

Macros

#define DE_ACTIVATE_ALL_BOXES   0
 

Functions

bool isPulseValid (uint16_t pulseDuration)
 
 TEST_F (RcTest, TestStartupValues)
 
void _arm_event (struct rc_event_listener *evt, rc_key_t key, rc_key_state_t state)
 
 TEST_F (RcTest, TestKeyEvents)
 

Variables

uint32_t rcModeActivationMask
 

Macro Definition Documentation

#define DE_ACTIVATE_ALL_BOXES   0

Function Documentation

void _arm_event ( struct rc_event_listener evt,
rc_key_t  key,
rc_key_state_t  state 
)
bool isPulseValid ( uint16_t  pulseDuration)
TEST_F ( RcTest  ,
TestStartupValues   
)

Here is the call graph for this function:

TEST_F ( RcTest  ,
TestKeyEvents   
)

Here is the call graph for this function:

Variable Documentation

uint32_t rcModeActivationMask