summaryrefslogtreecommitdiffhomepage
path: root/analog/motor-power-avr/src/main.c
diff options
context:
space:
mode:
authorGuillaume Chevillot2008-03-02 22:46:46 +0100
committerGuillaume Chevillot2008-03-02 22:46:46 +0100
commit2104cfdea2b4e3cb719d454f73e90f9b7be7fafb (patch)
treef827c8c52955a387c4106bd10c0ac561754a9a05 /analog/motor-power-avr/src/main.c
parentb8e14afe490abb4816e3d3f09b0bbdaa53963c19 (diff)
- Fixed and improved outputs initializations
- Use LEDs to show command status
Diffstat (limited to 'analog/motor-power-avr/src/main.c')
-rw-r--r--analog/motor-power-avr/src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/analog/motor-power-avr/src/main.c b/analog/motor-power-avr/src/main.c
index a18c0add..a691c6e4 100644
--- a/analog/motor-power-avr/src/main.c
+++ b/analog/motor-power-avr/src/main.c
@@ -82,14 +82,14 @@ int
main (int argc, char **argv)
{
avr_init (argc, argv);
- DDRD = 0x60;
/* Pull-ups. */
- PORTA = 0xff;
- PORTC = 0xff;
+ //PORTA = 0xff;
+
init_timer_LR_ ();
init_curLim ();
- //uart0_init ();
+ uart0_init ();
//postrack_init ();
+
envTest_period = 200;
proto_send0 ('z');
sei ();