Code cleanup
- Changing header file ifndef define to pragma once's - Removed duplicate output_com.h's
This commit is contained in:
parent
03f60df94d
commit
5f262ea4b6
75 changed files with 158 additions and 650 deletions
|
@ -19,8 +19,7 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef cli_h__
|
||||
#define cli_h__
|
||||
#pragma once
|
||||
|
||||
// ----- Includes -----
|
||||
|
||||
|
@ -130,6 +129,3 @@ void cliFunc_reset ( char* args );
|
|||
void cliFunc_restart ( char* args );
|
||||
void cliFunc_version ( char* args );
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
/* Copyright (C) 2011-2013 by Jacob Alexander
|
||||
*
|
||||
/* Copyright (C) 2011-2013,2015 by Jacob Alexander
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -19,8 +19,7 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __led_h
|
||||
#define __led_h
|
||||
#pragma once
|
||||
|
||||
// ----- Includes -----
|
||||
|
||||
|
@ -31,5 +30,3 @@
|
|||
void init_errorLED( void );
|
||||
void errorLED( uint8_t on );
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2011-2014 by Jacob Alexander
|
||||
/* Copyright (C) 2011-2015 by Jacob Alexander
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -19,8 +19,7 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef print_h__
|
||||
#define print_h__
|
||||
#pragma once
|
||||
|
||||
// ----- Includes -----
|
||||
|
||||
|
@ -116,5 +115,3 @@ uint16_t lenStr ( char* in );
|
|||
int16_t eqStr ( char* str1, char* str2 ); // Returns -1 if identical, last character of str1 comparison (0 if str1 is like str2)
|
||||
int numToInt ( char* in ); // Returns the int representation of a string
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue