summaryrefslogtreecommitdiff
path: root/n/avr/modules/math/fixed/test/test_fixed.c
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/math/fixed/test/test_fixed.c
parenta097d1dd557743d1f379dfaefaf8fdce7af078c4 (diff)
Permet la récupération des arguments sur host.
Correction de bug avec les asserts.
Diffstat (limited to 'n/avr/modules/math/fixed/test/test_fixed.c')
-rw-r--r--n/avr/modules/math/fixed/test/test_fixed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/n/avr/modules/math/fixed/test/test_fixed.c b/n/avr/modules/math/fixed/test/test_fixed.c
index ff826d4..875aad4 100644
--- a/n/avr/modules/math/fixed/test/test_fixed.c
+++ b/n/avr/modules/math/fixed/test/test_fixed.c
@@ -233,8 +233,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 ();
proto_send0 ('z');