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
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2012,2014 by Jacob Alexander
|
||||
/* Copyright (C) 2012,2014-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 __KEYMAP_H
|
||||
#define __KEYMAP_H
|
||||
#pragma once
|
||||
|
||||
// ----- Variables -----
|
||||
|
||||
|
@ -114,6 +113,3 @@ static uint8_t DefaultMap_Lookup[] = {
|
|||
0, // 0x55
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2012,2014 by Jacob Alexander
|
||||
/* Copyright (C) 2012,2014-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 __KEYMAP_H
|
||||
#define __KEYMAP_H
|
||||
#pragma once
|
||||
|
||||
// This file contains various key layouts for the SKM 67001 Keyboard from the Olympia Professional ES 105 Typewriter
|
||||
|
||||
|
@ -116,6 +115,3 @@ static uint8_t DefaultMap_Lookup[] = {
|
|||
0, // 0x55
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
/* Copyright (C) 2012 by Jacob Alexander
|
||||
*
|
||||
/* Copyright (C) 2012,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 __MATRIX_H
|
||||
#define __MATRIX_H
|
||||
#pragma once
|
||||
|
||||
// ----- Includes -----
|
||||
|
||||
|
@ -73,7 +72,3 @@ static const uint8_t matrix_pinout[][MAX_ROW_SIZE + 1] = {
|
|||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // __MATRIX_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue