great cleaning

This commit is contained in:
2017-10-16 00:29:43 +02:00
parent 87d1841fc8
commit 4ad1f09f73
9 changed files with 161 additions and 69 deletions
+5 -5
View File
@@ -19,22 +19,22 @@ void TF_WriteImpl(const uint8_t *buff, size_t len)
}
/** An example listener function */
bool myListener(TF_MSG *msg)
TF_Result myListener(TF_Msg *msg)
{
dumpFrameInfo(msg);
return true;
return TF_STAY;
}
bool testIdListener(TF_MSG *msg)
TF_Result testIdListener(TF_Msg *msg)
{
printf("OK - ID Listener triggered for msg!\n");
dumpFrameInfo(msg);
return true;
return TF_CLOSE;
}
void main(void)
{
TF_MSG msg;
TF_Msg msg;
const char *longstr = "Lorem ipsum dolor sit amet.";
// Set up the TinyFrame library