Mercurial > louis > kiibohd-controller
diff Scan/MatrixARM/matrix_setup.h @ 341:66eccdd9ced5
Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 14 Jun 2015 13:56:56 -0700 |
parents | 3caf3217b604 |
children |
line wrap: on
line diff
--- a/Scan/MatrixARM/matrix_setup.h Sat Jun 13 20:42:12 2015 -0700 +++ b/Scan/MatrixARM/matrix_setup.h Sun Jun 14 13:56:56 2015 -0700 @@ -1,4 +1,4 @@ -/* Copyright (C) 2014 by Jacob Alexander +/* Copyright (C) 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_SETUP_H -#define __MATRIX_SETUP_H +#pragma once // ----- Macros ----- @@ -30,6 +29,3 @@ #define Matrix_rowsNum sizeof( Matrix_rows ) / sizeof( GPIO_Pin ) #define Matrix_maxKeys sizeof( Matrix_scanArray ) / sizeof( KeyState ) - -#endif // __MATRIX_SETUP_H -