Code cleanup

- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
This commit is contained in:
Jacob Alexander 2015-06-14 13:56:56 -07:00
parent 03f60df94d
commit 5f262ea4b6
75 changed files with 158 additions and 650 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2011,2014 by Jacob Alexander
/* Copyright (C) 2011,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 __MATRIX_SCAN_H
#define __MATRIX_SCAN_H
#pragma once
// ----- Includes -----
@ -119,5 +118,3 @@
void matrix_pinSetup( uint8_t *matrix, uint8_t scanType );
void matrix_scan( uint8_t *matrix, uint8_t *detectArray );
#endif // __MATRIX_SCAN_H

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2011,2014 by Jacob Alexander
/* Copyright (C) 2011,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 __MATRIX_H
#define __MATRIX_H
#pragma once
// ----- Includes -----
@ -147,7 +146,3 @@ static const uint8_t matrix_pinout[][MAX_ROW_SIZE + 1] = {
};
#endif // __MATRIX_H

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2011-2012,2014 by Jacob Alexander
/* Copyright (C) 2011-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 __SCAN_LOOP_H
#define __SCAN_LOOP_H
#pragma once
// ----- Includes -----
@ -63,6 +62,3 @@ uint8_t Scan_loop( void );
void Scan_finishedWithBuffer( uint8_t sentKeys );
void Scan_finishedWithUSBBuffer( uint8_t sentKeys );
#endif // __SCAN_LOOP_H