typofix + formatting

pull/9/head
Ondřej Hruška 7 years ago
parent 962ccd054c
commit 788930eca4
  1. 2
      TinyFrame.c
  2. 6
      TinyFrame.h

@ -1,5 +1,7 @@
//---------------------------------------------------------------------------
#include "TinyFrame.h" #include "TinyFrame.h"
#include <string.h> #include <string.h>
//---------------------------------------------------------------------------
/* Note: payload length determines the Rx buffer size. Max 256 */ /* Note: payload length determines the Rx buffer size. Max 256 */
#define TF_MAX_PAYLOAD 256 #define TF_MAX_PAYLOAD 256

@ -1,14 +1,12 @@
//---------------------------------------------------------------------------
#ifndef TinyFrameH #ifndef TinyFrameH
#define TinyFrameH #define TinyFrameH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
//---------------------------------------------------------------------------
/** /**
* TinyFrame receive callback trype. * TinyFrame receive callback type.
* *
* @param frame_id - ID of the received byte (if response, same as the request) * @param frame_id - ID of the received byte (if response, same as the request)
* @param buff - byte buffer with the payload * @param buff - byte buffer with the payload

Loading…
Cancel
Save