removing DMAINFO typedef

This commit is contained in:
Attila Body 2019-11-21 12:38:35 +01:00
parent bca15a3298
commit a17ad75673
10 changed files with 16 additions and 16 deletions

View file

@ -52,7 +52,7 @@ void MainLoop()
while((randmask = randmask >> 1));
randmask -= 1;
Crc_InitStatus(&g_crcStatus, DMA2, LL_DMA_STREAM_4);
Crc_InitStatus(&g_crcStatus, CRC, DMA2, LL_DMA_STREAM_4);
for(uint16_t idx = 0; idx < sizeof(g_uartStatuses) / sizeof(g_uartStatuses[0]); ++idx) {
struct initdata_t const *id = &initdata[idx];

View file

@ -11,6 +11,6 @@ struct usartstatus_t g_uartStatuses[USARTCOUNT];
struct crcstatus_t g_crcStatus;
DMAINFO g_ConsoleTxDmaInfo;
struct dmainfo_t g_ConsoleTxDmaInfo;
uint8_t g_statsBuf[256];

View file

@ -18,7 +18,7 @@ extern struct usartstatus_t g_uartStatuses[USARTCOUNT];
extern struct crcstatus_t g_crcStatus;
extern DMAINFO g_ConsoleTxDmaInfo;
extern struct dmainfo_t g_ConsoleTxDmaInfo;
extern uint8_t g_statsBuf[256];
#endif /* GLOBALS_H_ */