Fixed some VMTs with new data.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11547 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
50439eed0d
commit
ded86ea980
|
@ -84,7 +84,7 @@ static msg_t _get(void *ip) {
|
|||
return b;
|
||||
}
|
||||
|
||||
static const struct MemStreamVMT vmt = {_writes, _reads, _put, _get};
|
||||
static const struct MemStreamVMT vmt = {(size_t)0, _writes, _reads, _put, _get};
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver exported functions. */
|
||||
|
|
|
@ -73,7 +73,7 @@ static msg_t get(void *ip) {
|
|||
return 4;
|
||||
}
|
||||
|
||||
static const struct NullStreamVMT vmt = {writes, reads, put, get};
|
||||
static const struct NullStreamVMT vmt = {(size_t)0, writes, reads, put, get};
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver exported functions. */
|
||||
|
|
Loading…
Reference in New Issue