Jan Breuer
2015-01-18 834faf3b0a91d6af089258d9917fbc86a92699a1
refs
用户 Jan Breuer <jan.breuer@jaybee.cz>
星期日, 一月 18, 2015 16:39 +0800
提交者 Jan Breuer <jan.breuer@jaybee.cz>
星期日, 一月 18, 2015 16:39 +0800
提交834faf3b0a91d6af089258d9917fbc86a92699a1
目录 ab9c52a27c51ef0db48cd14620800a717e6c3939 目录 | zip | gz
parent 81681dfa8a7d235e49161f3b9458f855d281330b 查看 | 对比
Resolve #18 *TST? should return 0 as OK

- it should be completely customizable, what return value is return
from the callback function
- Returning 0 from callback means "test was OK"
- Other number means, that some error bits are set
- Type of callback is still wrong - it should be int and not
scpi_result_t but it will change API. It will be part of next version
5个文件已修改
25 ■■■■ 已修改文件
examples/test-LwIP-netconn/scpi_server.c 5 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
examples/test-interactive/main.c 5 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
examples/test-parser/main.c 5 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
examples/test-tcp-srq/main.c 5 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
examples/test-tcp/main.c 5 ●●●● 对比 | 查看 | 原始文档 | blame | 历史