From 50048bdc32cbc64bf18abe7dd3cf0b43298e789b Mon Sep 17 00:00:00 2001 From: "brian.schmalz@gmail.com" Date: Wed, 25 Jun 2014 08:10:50 +0000 Subject: [PATCH] Minor comment spelling fixes. git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@305 72233254-1b6c-9e9c-5072-401df62706fb --- EBB_firmware/app.X/source/UBW.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/EBB_firmware/app.X/source/UBW.c b/EBB_firmware/app.X/source/UBW.c index 3c0e4a5..eaa7a5c 100644 --- a/EBB_firmware/app.X/source/UBW.c +++ b/EBB_firmware/app.X/source/UBW.c @@ -1450,7 +1450,7 @@ void parse_packet(void) g_RX_buf_out = g_RX_buf_in; } -// Print out the positive acknoledgement that the packet was received +// Print out the positive acknowledgement that the packet was received // if we have acks turned on. void print_ack(void) { @@ -1467,7 +1467,7 @@ void parse_R_packet(void) print_ack (); } -// CU is "Configure UBW" and controls system-wide configruation values +// CU is "Configure UBW" and controls system-wide configuration values // "CU,," // // 1 {1|0} turns on or off the 'ack' ("OK" at end of packets) @@ -1536,7 +1536,7 @@ void parse_T_packet(void) { T4CONbits.TMR4ON = 1; - // Eventually gaurd this section from interrupts + // Eventually guard this section from interrupts ISR_D_RepeatRate = time_between_updates; } } @@ -1551,7 +1551,7 @@ void parse_T_packet(void) { T4CONbits.TMR4ON = 1; - // Eventually gaurd this section from interrupts + // Eventually guard this section from interrupts ISR_A_RepeatRate = time_between_updates; } } @@ -1560,11 +1560,11 @@ void parse_T_packet(void) } // IMPORTANT: As of EBB v2.2.3 firmware, this command is different from the -// UBW version. The analog config value is eleminated, replaced with the "AC" +// UBW version. The analog config value is eliminated, replaced with the "AC" // command. // FORMAT: C,,,,, // EXAMPLE: "C,255,0,4,0,0,0" -// is the byte sent to the Data Direction (DDR) regsiter for +// is the byte sent to the Data Direction (DDR) register for // each port. A 1 in a bit location means input, a 0 means output. // // NOTE: it is up to the user to tell the proper port direction bits to be @@ -1656,8 +1656,8 @@ void AnalogConfigure(unsigned char Channel, unsigned char Enable) // is one of the 16 possible analog channels, from 0 through 15 // is 0 to disable, or 1 to enable // To turn on a particular analog channel, use the AC command to enable it. -// To turn off a partiuclar analog channel, use the AC command to disable it. -// Once enabled, that channel will be converted at the normal ADC converstion +// To turn off a particular analog channel, use the AC command to disable it. +// Once enabled, that channel will be converted at the normal ADC conversion // rate and will show up in A packets. void parse_AC_packet(void) {