Added encoder operation via timer

This commit is contained in:
2024-05-25 21:41:34 +03:00
parent 6fc6bd447f
commit 42b0b05734

View File

@@ -1,5 +1,5 @@
#ifndef ENCODER_H
#define ENCODER_H
#ifndef DS_ENCODER_H
#define DS_ENCODER_H
#ifdef STM32G030xx
#include "stm32g0xx_hal.h"
@@ -29,4 +29,4 @@ void DS_EncoderUpdate(DS_Encoder *Encoder);
int8_t DS_EncoderGetState(DS_Encoder *Encoder);
#endif //ENCODER_H
#endif //DS_ENCODER_H