diff options
author | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-24 20:33:31 +0700 |
---|---|---|
committer | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-24 20:33:31 +0700 |
commit | 6f018973caa979897d4c932222b53e705113b612 (patch) | |
tree | 3b42ac586b21ea36c3e5af49edff0d1e357502ea /demos/STM32 | |
parent | 933415a3b951a2be552db7e7f30249eee4ed3f64 (diff) | |
download | ChibiOS-Contrib-6f018973caa979897d4c932222b53e705113b612.tar.gz ChibiOS-Contrib-6f018973caa979897d4c932222b53e705113b612.tar.bz2 ChibiOS-Contrib-6f018973caa979897d4c932222b53e705113b612.zip |
Various tests and demos fixes.
Diffstat (limited to 'demos/STM32')
-rw-r--r-- | demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c b/demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c index 6f09f0c..d2e5e00 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c +++ b/demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c @@ -23,7 +23,7 @@ #define ADC_GRP1_NUM_CHANNELS 1
#define ADC_GRP1_BUF_DEPTH 8
-static pid_t pid;
+static pidc_t pid;
static float input = 0, output = 0, target = 0;
static adcsample_t samples[ADC_GRP1_NUM_CHANNELS * ADC_GRP1_BUF_DEPTH];
|