diff options
| author | Qiuwen Lu <[email protected]> | 2017-03-16 09:37:25 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2017-03-16 09:37:25 +0800 |
| commit | 2eabf56c88875cb2d2234523d4b8561b2879332b (patch) | |
| tree | 820fa4fdd891f62d1f388e25dfccdfcd56a40d70 /examples | |
| parent | 9ddd126179cbe64bca907c5cff78d8173aeadd95 (diff) | |
完成基于消息通信的应用初始化与虚设备初始化。
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/testapp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/testapp.c b/examples/testapp.c index cfb1b21..4895740 100644 --- a/examples/testapp.c +++ b/examples/testapp.c @@ -6,6 +6,8 @@ int main(int argc, char * argv[]) { int ret = marsio_init("testapp"); + int dev_id_0 = marsio_open_device("meth0", 8, 8); + int dev_id_1 = marsio_open_device("meth1", 8, 8); for (;;) sleep(1); return ret; |
