NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
boardalignment.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include "common/maths.h"
#include "common/axis.h"
#include "config/config.h"
#include "config/sensors.h"
#include "boardalignment.h"
Include dependency graph for boardalignment.c:

Functions

void board_alignment_init (struct board_alignment *self, const struct board_alignment_config *config)
 
void board_alignment_rotate_vector (struct board_alignment *self, int32_t *src, int32_t *dest, uint8_t rotation)
 

Function Documentation

void board_alignment_init ( struct board_alignment self,
const struct board_alignment_config config 
)

Here is the call graph for this function:

void board_alignment_rotate_vector ( struct board_alignment self,
int32_t *  src,
int32_t *  dest,
uint8_t  rotation 
)