1
0
forked from me/IronOS

Quick fix for multiple definition of structs (#33)

This commit is contained in:
mkninc
2017-07-26 01:18:41 +02:00
committed by Ben V. Brown
parent 56f31b02aa
commit 2e823b6594
6 changed files with 20 additions and 8 deletions

View File

@@ -12,9 +12,9 @@
#include "Analog.h"
#include "Interrupt.h"
struct {
typedef struct {
uint32_t kp, ki, kd; //PID values
} pidSettings;
} pidSettingsType;
int32_t computePID(uint16_t setpoint);
void setupPID(void);