nrf logging

This commit is contained in:
2018-04-08 10:14:13 +02:00
parent 62c6665114
commit 5f563e9038
8 changed files with 173 additions and 66 deletions
+2 -2
View File
@@ -102,9 +102,9 @@ uint8_t NRF_PipeNum2Addr(uint8_t pipe_num);
uint8_t NRF_Addr2PipeNum(uint8_t addr);
/**
* Reset as much as possible (incl. removing pipes)
* Reset pipes, so we can add them again
*/
void NRF_Reset(void);
void NRF_ResetPipes(void);
/**
* Send a packet (takes care of mode switching etc)
+4
View File
@@ -118,6 +118,8 @@
/** CDC Interface callback. */
extern USBD_CDC_ItfTypeDef USBD_Interface_fops_FS;
extern volatile bool usb_tx_busy;
/* USER CODE BEGIN EXPORTED_VARIABLES */
/* USER CODE END EXPORTED_VARIABLES */
@@ -133,6 +135,8 @@ extern USBD_CDC_ItfTypeDef USBD_Interface_fops_FS;
uint8_t CDC_Transmit_FS(uint8_t* Buf, uint16_t Len);
void USBD_CDC_TransmitDone(USBD_HandleTypeDef *pdev);
/* USER CODE BEGIN EXPORTED_FUNCTIONS */
/* USER CODE END EXPORTED_FUNCTIONS */