mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 16:30:07 +08:00
[WLS] Fix defines to be used in other source files. (#3154)
This commit is contained in:
@@ -55,13 +55,6 @@ static void print_final_values(int n_u, int n_v, float* u, float** B, float* v,
|
||||
static void print_in_and_outputs(int n_c, int n_free, float** A_free_ptr, float* d, float* p_free);
|
||||
#endif
|
||||
|
||||
#ifndef WLS_N_U
|
||||
#define WLS_N_U 6
|
||||
#endif
|
||||
|
||||
#ifndef WLS_N_V
|
||||
#define WLS_N_V 4
|
||||
#endif
|
||||
|
||||
#define WLS_N_C ((WLS_N_U)+(WLS_N_V))
|
||||
|
||||
|
||||
@@ -52,6 +52,16 @@
|
||||
#ifndef WLS_ALLOC_HEADER
|
||||
#define WLS_ALLOC_HEADER
|
||||
|
||||
#include "generated/airframe.h"
|
||||
|
||||
#ifndef WLS_N_U
|
||||
#define WLS_N_U 6
|
||||
#endif
|
||||
|
||||
#ifndef WLS_N_V
|
||||
#define WLS_N_V 4
|
||||
#endif
|
||||
|
||||
|
||||
extern int wls_alloc(float* u, float* v,
|
||||
float* umin, float* umax, float** B,
|
||||
|
||||
Reference in New Issue
Block a user