Mercurial > louis > kiibohd-controller
comparison Lib/MainLib.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 | 9afed592bcb5 |
children |
comparison
equal
deleted
inserted
replaced
340:e8841d3c6db5 | 341:66eccdd9ced5 |
---|---|
1 /* Copyright (C) 2013-2014 by Jacob Alexander | 1 /* Copyright (C) 2013-2015 by Jacob Alexander |
2 * | 2 * |
3 * Permission is hereby granted, free of charge, to any person obtaining a copy | 3 * Permission is hereby granted, free of charge, to any person obtaining a copy |
4 * of this software and associated documentation files (the "Software"), to deal | 4 * of this software and associated documentation files (the "Software"), to deal |
5 * in the Software without restriction, including without limitation the rights | 5 * in the Software without restriction, including without limitation the rights |
6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
21 | 21 |
22 | 22 |
23 // This include file decides which set of compiler family include files to use on typical Scan modules. | 23 // This include file decides which set of compiler family include files to use on typical Scan modules. |
24 // Additional includes should only be added to this file if they should be added to *all* Scan modules. | 24 // Additional includes should only be added to this file if they should be added to *all* Scan modules. |
25 | 25 |
26 | 26 #pragma once |
27 #ifndef __MAINLIB_H | |
28 #define __MAINLIB_H | |
29 | 27 |
30 // ----- Includes ----- | 28 // ----- Includes ----- |
31 | 29 |
32 #include <Lib/Interrupts.h> | 30 #include <Lib/Interrupts.h> |
33 | 31 |
47 | 45 |
48 #include <avr/io.h> | 46 #include <avr/io.h> |
49 | 47 |
50 #endif | 48 #endif |
51 | 49 |
52 | |
53 #endif | |
54 |