X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=net%2Fkeytag.h;h=ab87be21797458253a199bc9aa67b16f25ff971c;hb=7412e70c70dddf8d6dae0a1a777f9271fa2f56bb;hp=651f134c16b2201711bc473a5299ceae97a50442;hpb=4ea1189f208eee652e9028c3fe4327293c70662b;p=bertos.git diff --git a/net/keytag.h b/net/keytag.h index 651f134c..ab87be21 100644 --- a/net/keytag.h +++ b/net/keytag.h @@ -61,15 +61,15 @@ */ #define TAG_MAX_PRINT_CHARS 12 -#include +#include /** * Structure of a Tag packet */ typedef struct TagPacket { - struct Serial *tag_ser; // Tag serial - struct Serial *comm_ser; // Communication serial + KFileSerial *tag_ser; // Tag serial + KFileSerial *comm_ser; // Communication serial bool sync; // Status flag: true if we find an STX uint16_t len; // Packet lenght uint8_t buf[TAG_MAX_LEN]; // Reception buffer