diff --git a/src/MPPT.h b/src/MPPT.h index b5d8401..e4d7930 100644 --- a/src/MPPT.h +++ b/src/MPPT.h @@ -8,5 +8,6 @@ void mppt_start(); void mppt_deinit(); void mppt_setSetpointOverride(uint8_t vermogen); void mppt_setSetpoint(uint8_t vermogen); +uint8_t mppt_getVermogen(); #endif diff --git a/src/spi.c b/src/spi.c index 141e5bc..48ba573 100644 --- a/src/spi.c +++ b/src/spi.c @@ -3,7 +3,7 @@ #include "global.h" #include "debug.h" - +SPI_Handle *SPI_Handaler; SPI_Trans_t SPI_ADC; uint8_t ADC_TxBuf[4]; uint8_t ADC_RxBuf[4]; diff --git a/src/spi.h b/src/spi.h index 90cc060..d710b48 100644 --- a/src/spi.h +++ b/src/spi.h @@ -27,7 +27,6 @@ typedef struct SPI_Trans_t { SPI_Params params; uint_least8_t cs; } SPI_Trans_t; -SPI_Handle *SPI_Handaler; void SPI_Init(); uint16_t ADC_read(uint8_t ch);