NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hardware_revision.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "build_config.h"
#include "drivers/system.h"
#include "drivers/bus_spi.h"
#include "drivers/sensor.h"
#include "drivers/exti.h"
#include "drivers/accgyro.h"
#include "drivers/accgyro_mpu.h"
#include "drivers/accgyro_mpu6500.h"
#include "hardware_revision.h"
Include dependency graph for hardware_revision.c:

Functions

void detectHardwareRevision (void)
 
void updateHardwareRevision (void)
 

Variables

uint8_t hardwareRevision = UNKNOWN
 

Function Documentation

void detectHardwareRevision ( void  )

Here is the call graph for this function:

void updateHardwareRevision ( void  )

Variable Documentation

uint8_t hardwareRevision = UNKNOWN