projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to fix the BeRTOS Wizard running directory-related issue.
[bertos.git]
/
bertos
/
net
/
keytag.h
diff --git
a/bertos/net/keytag.h
b/bertos/net/keytag.h
index b815a8b1b117328d770a347d55a5665d846887e0..0985a2071d950fd2fb3491e86902aeff0bf6c5aa 100644
(file)
--- a/
bertos/net/keytag.h
+++ b/
bertos/net/keytag.h
@@
-56,8
+56,6
@@
*/
#define TAG_MAX_LEN 14
*/
#define TAG_MAX_LEN 14
-#define TAG_SER_PORT 0
-#define TAG_SER_BAUDRATE 9600
/**
* Max number of chars to print in the communication serial
/**
* Max number of chars to print in the communication serial
@@
-69,11
+67,11
@@
*/
typedef struct TagPacket
{
*/
typedef struct TagPacket
{
- KFile *tag;
///<
Tag communication channel
- KFile *host; ///<Host communication channel
+ KFile *tag;
///<
Tag communication channel
+ KFile *host; ///<
Host communication channel
bool sync; ///< Status flag: true if we find an STX
uint16_t len; ///< Packet lenght
bool sync; ///< Status flag: true if we find an STX
uint16_t len; ///< Packet lenght
- uint8_t buf[TAG_MAX_LEN];
///< Reception buffer
+ uint8_t buf[TAG_MAX_LEN]; ///< Reception buffer
} TagPacket;
void keytag_init(struct TagPacket *pkt, struct KFile *comm, struct KFile *tag);
} TagPacket;
void keytag_init(struct TagPacket *pkt, struct KFile *comm, struct KFile *tag);