mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-09 05:14:01 +02:00
use 64byte for messages
This commit is contained in:
parent
5089785e4a
commit
f482e0618f
3 changed files with 9 additions and 5 deletions
|
@ -35,15 +35,17 @@ ROM ** rom = (ROM **)0x1fff1ff8;
|
|||
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
#define INSIZE 8
|
||||
#define INSIZE 64
|
||||
#define OUTSIZE 2
|
||||
|
||||
void GetInReport (uint8_t src[], uint32_t length)
|
||||
{
|
||||
static int j = 0;
|
||||
int i;
|
||||
for (i = 0; i < INSIZE; ++i) {
|
||||
src[i] = 'A' + i;
|
||||
src[i] = 'A' + i + j;
|
||||
}
|
||||
if (++j>32) j = 0;
|
||||
}
|
||||
|
||||
void SetOutReport (uint8_t dst[], uint32_t length)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue