Typo
This commit is contained in:
@@ -105,6 +105,12 @@ extern "C" void INTMODULE_USART_IRQHandler(void)
|
||||
}
|
||||
}
|
||||
|
||||
void intmoduleSendByte(uint8_t byte)
|
||||
{
|
||||
while (!(INTMODULE_USART->SR & USART_SR_TXE));
|
||||
USART_SendData(INTMODULE_USART, byte);
|
||||
}
|
||||
|
||||
void intmoduleSendBuffer(const uint8_t * data, uint8_t size)
|
||||
{
|
||||
if (size == 0)
|
||||
|
||||
@@ -150,6 +150,7 @@ void init_intmodule_heartbeat();
|
||||
void check_intmodule_heartbeat();
|
||||
|
||||
void intmoduleSerialStart(uint32_t baudrate, uint8_t rxEnable);
|
||||
void intmoduleSendByte(uint8_t byte);
|
||||
void intmoduleSendBuffer(const uint8_t * data, uint8_t size);
|
||||
void intmoduleSendNextFrame();
|
||||
|
||||
|
||||
@@ -565,8 +565,8 @@
|
||||
#define INTMODULE_DMA_FLAG_TC DMA_IT_TCIF7
|
||||
#define INTMODULE_DMA_CHANNEL DMA_Channel_4
|
||||
#if defined(PCBX12S)
|
||||
#define INTMODULE_BOOT_GPIO GPIOI
|
||||
#define INTMODULE_BOOT_GPIO_PIN GPIO_PIN_9 // PC.02
|
||||
#define INTMODULE_BOOT_GPIO GPIOC
|
||||
#define INTMODULE_BOOT_GPIO_PIN GPIO_PIN_2 // PC.02
|
||||
#elif defined(PCBX10)
|
||||
#define INTMODULE_BOOT_GPIO GPIOI
|
||||
#define INTMODULE_BOOT_GPIO_PIN GPIO_PIN_9 // PI.09
|
||||
|
||||
@@ -122,6 +122,7 @@ uint32_t isBootloaderStart(const uint8_t * buffer);
|
||||
#endif
|
||||
|
||||
void intmoduleSerialStart(uint32_t baudrate, uint8_t rxEnable);
|
||||
void intmoduleSendByte(uint8_t byte);
|
||||
void intmoduleSendBuffer(const uint8_t * data, uint8_t size);
|
||||
void intmoduleSendNextFrame();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user