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/gpio.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  )
void updateHardwareRevision ( void  )

Variable Documentation

uint8_t hardwareRevision = UNKNOWN