Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replaced emacs file variables with directory variables.

  • Loading branch information...
commit 1a04b1b845d2c864794e2f20cd87ea56ffba5538 1 parent 974d5cb
@pdg137 pdg137 authored
View
6 .dir-locals.el
@@ -0,0 +1,6 @@
+; This file causes the Emacs text editor to follow our indentation style.
+
+(
+ (c-mode . ((c-basic-offset . 4) (tab-width . 4) (indent-tabs-mode . nil)) )
+)
+
View
7 apps/example_blink_led/example_blink_led.c
@@ -51,10 +51,3 @@ void main()
receiveCommands();
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 apps/test_radio_link/test_radio_link.c
@@ -119,10 +119,3 @@ void main()
usbComService();
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 apps/wireless_serial/wireless_serial.c
@@ -213,10 +213,3 @@ void main()
}
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/dma/dma.c
@@ -12,10 +12,3 @@ void dmaInit()
{
DMA1CFG = (uint16)&dmaConfig;
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/radio_com/radio_com.c
@@ -101,10 +101,3 @@ void radioComTxSendByte(uint8 byte)
}
void radioComTxSend(const uint8 XDATA * buffer, uint8 size);
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/radio_link/radio_link.c
@@ -335,10 +335,3 @@ void radioMacEventHandler(uint8 event) // called by the MAC in an ISR
return;
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/radio_mac/radio_mac.c
@@ -269,10 +269,3 @@ void radioMacTx(uint8 XDATA * packet)
radioMacState = RADIO_MAC_STATE_TX;
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/radio_registers/radio_registers.c
@@ -101,10 +101,3 @@ int8 radioRssi()
{
return ((int8)RSSI)/2 - RSSI_OFFSET;
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/random/random.c
@@ -72,10 +72,3 @@ uint8 randomNumber()
ADCCON1 = (ADCCON1 & ~0x0C) | 0x07; // Start generating the next random number.
return rand;
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/uart/uart.c
@@ -211,10 +211,3 @@ ISR(URX0, 1)
}
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/usb/green_led.c
@@ -18,10 +18,3 @@ void usbShowStatusWithGreenLed()
LED_GREEN(timeMs >> 9 & 1); // Blink with a period of 1024 ms.
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/usb/usb.c
@@ -627,10 +627,3 @@ void usbInitEndpointOut(uint8 endpointNumber, uint8 maxPacketSize)
USBMAXO = maxPacketSize >> 3;
USBCSOH = 1; // Enable Double buffering
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/usb_cdc_acm/usb_cdc_acm.c
@@ -428,10 +428,3 @@ void usbComTxSend(const uint8 XDATA * buffer, uint8 size)
size -= bytesToSend;
}
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/wixel/board.c
@@ -172,10 +172,3 @@ void enableUsbPullup()
P2_0 = 1;
P2DIR |= (1<<0); // Drive P2_0 high.
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
View
7 libraries/src/wixel/time.c
@@ -28,10 +28,3 @@ void timeInit()
EA = 1; // Globally enable interrupts (IEN0.EA=1).
}
-
-// Local Variables: **
-// mode: C **
-// c-basic-offset: 4 **
-// tab-width: 4 **
-// indent-tabs-mode: nil **
-// end: **
Please sign in to comment.
Something went wrong with that request. Please try again.