aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F303-DISCOVERY-PID
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F303-DISCOVERY-PID')
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-PID/main.c2
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];