summaryrefslogtreecommitdiff
path: root/n/avr/modules/proto
diff options
context:
space:
mode:
authorschodet2006-03-11 11:02:57 +0000
committerschodet2006-03-11 11:02:57 +0000
commit2f3a905da7a450c200ea631ce9669e9258678d3a (patch)
treed46c2495c34ef7590210c44aea783ae49b95a5f5 /n/avr/modules/proto
parenta097d1dd557743d1f379dfaefaf8fdce7af078c4 (diff)
Permet la récupération des arguments sur host.
Correction de bug avec les asserts.
Diffstat (limited to 'n/avr/modules/proto')
-rw-r--r--n/avr/modules/proto/test/test_proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/n/avr/modules/proto/test/test_proto.c b/n/avr/modules/proto/test/test_proto.c
index 0503b6c..0b0883f 100644
--- a/n/avr/modules/proto/test/test_proto.c
+++ b/n/avr/modules/proto/test/test_proto.c
@@ -67,8 +67,9 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
}
int
-main (void)
+main (int argc, char **argv)
{
+ avr_init (argc, argv);
sei ();
uart0_init ();
/* This command should be generaly sent on reset. */