summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/proto/test
diff options
context:
space:
mode:
authorNicolas Schodet2012-04-03 00:49:55 +0200
committerNicolas Schodet2012-04-06 23:55:25 +0200
commitfa1dc85d0a8ca03e24a8c48d7916f272c3f138e6 (patch)
tree75592df9c2da334a46cc79cafc0d5596d44bd383 /digital/avr/modules/proto/test
parent720037c9a21a15910266fad2650fc446faa6ed58 (diff)
digital/avr/modules/proto: add automatic send[bwd] with n arguments
Diffstat (limited to 'digital/avr/modules/proto/test')
-rw-r--r--digital/avr/modules/proto/test/test_proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/avr/modules/proto/test/test_proto.c b/digital/avr/modules/proto/test/test_proto.c
index 21edaf59..c3d1fe2e 100644
--- a/digital/avr/modules/proto/test/test_proto.c
+++ b/digital/avr/modules/proto/test/test_proto.c
@@ -52,6 +52,8 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
proto_send1b ('e', 0xf0);
proto_send2w ('l', 0x1234, 0x5678);
proto_send1d ('o', 0x12345678);
+ proto_sendb ('p', 1);
+ proto_sendb ('p', 1, 2, 3, 4);
{
volatile uint32_t i = 0x12345678;
proto_send1d ('i', i);