sd card logging working
This commit is contained in:
@@ -64,6 +64,11 @@ struct packet_spo2 {
|
||||
uint32_t ir_cnts[25];
|
||||
};
|
||||
|
||||
struct packet_msg {
|
||||
uint32_t t;
|
||||
char buff[32];
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
__inline__ uint8_t typecode() {
|
||||
return 0;
|
||||
@@ -113,3 +118,8 @@ template<>
|
||||
__inline__ uint8_t typecode<struct packet_imu>() {
|
||||
return 9;
|
||||
}
|
||||
|
||||
template<>
|
||||
__inline__ uint8_t typecode<struct packet_msg>() {
|
||||
return 10;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ void USART1_IRQHandler(void);
|
||||
void SDMMC1_IRQHandler(void);
|
||||
void TIM6_DAC_IRQHandler(void);
|
||||
void DMA2_Channel4_IRQHandler(void);
|
||||
void DMA2_Channel5_IRQHandler(void);
|
||||
void USB_IRQHandler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user