[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4808] change line endings to LF only
From: |
Felix Ruess |
Subject: |
[paparazzi-commits] [4808] change line endings to LF only |
Date: |
Sat, 17 Apr 2010 18:36:10 +0000 |
Revision: 4808
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4808
Author: flixr
Date: 2010-04-17 18:36:09 +0000 (Sat, 17 Apr 2010)
Log Message:
-----------
change line endings to LF only
Modified Paths:
--------------
paparazzi3/trunk/sw/in_progress/blitzer/blitzer.c
Modified: paparazzi3/trunk/sw/in_progress/blitzer/blitzer.c
===================================================================
--- paparazzi3/trunk/sw/in_progress/blitzer/blitzer.c 2010-04-17 10:24:16 UTC
(rev 4807)
+++ paparazzi3/trunk/sw/in_progress/blitzer/blitzer.c 2010-04-17 18:36:09 UTC
(rev 4808)
@@ -32,23 +32,23 @@
*
*/
-#include <avr/pgmspace.h>
+#include <avr/pgmspace.h>
void wait(int msec_time)
{
volatile unsigned short cnta, cntb;
-
+
/* roughly based on internal oscillator with divider by 8 enabled */
for (cnta = 0; cnta < msec_time; cnta++) {
for (cntb = 0; cntb < 38;cntb++) cntb=cntb;
}
}
-int main(void)
-{
- DDRB |= (1 << PB2); // PB2 output
- DDRB |= (1 << PB1); // PB1 output
- DDRB &= ~(1 << PB0); // PB0 input
+int main(void)
+{
+ DDRB |= (1 << PB2); // PB2 output
+ DDRB |= (1 << PB1); // PB1 output
+ DDRB &= ~(1 << PB0); // PB0 input
while (1)
{
@@ -67,4 +67,4 @@
}
return(0);
-}
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4808] change line endings to LF only,
Felix Ruess <=