Removed dead code and fixed demoes

This commit is contained in:
2018-01-26 09:59:42 +01:00
parent 137797cc7d
commit 0ed3fd91f7
3 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void demo_disconn(void)
* @param buff
* @param len
*/
void TF_WriteImpl(TinyFrame *tf, const uint8_t *buff, size_t len)
void TF_WriteImpl(TinyFrame *tf, const uint8_t *buff, uint32_t len)
{
printf("\033[32mTF_WriteImpl - sending frame:\033[0m\n");
dumpFrame(buff, len);
+1 -1
View File
@@ -11,7 +11,7 @@ extern const char *romeo;
* This function should be defined in the application code.
* It implements the lowest layer - sending bytes to UART (or other)
*/
void TF_WriteImpl(TinyFrame *tf, const uint8_t *buff, size_t len)
void TF_WriteImpl(TinyFrame *tf, const uint8_t *buff, uint32_t len)
{
printf("--------------------\n");
printf("\033[32mTF_WriteImpl - sending frame:\033[0m\n");