Mercurial > louis > kiibohd-controller
comparison Lib/Interrupts.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 |
23 // This include file unifies some of the nomenclature between the AVR and ARM compilers | 23 // This include file unifies some of the nomenclature between the AVR and ARM compilers |
24 | 24 |
25 | 25 |
26 // ----- Includes ----- | 26 // ----- Includes ----- |
27 | 27 |
28 #ifndef __INTERRUPTS_H | 28 #pragma once |
29 #define __INTERRUPTS_H | |
30 | 29 |
31 // ARM | 30 // ARM |
32 #if defined(_mk20dx128_) || defined(_mk20dx128vlf5_) || defined(_mk20dx256_) || defined(_mk20dx256vlh7_) | 31 #if defined(_mk20dx128_) || defined(_mk20dx128vlf5_) || defined(_mk20dx256_) || defined(_mk20dx256vlh7_) |
33 | 32 |
34 #include <Lib/mk20dx.h> | 33 #include <Lib/mk20dx.h> |
56 #elif defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_) | 55 #elif defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_) |
57 | 56 |
58 | 57 |
59 #endif | 58 #endif |
60 | 59 |
61 | |
62 #endif | |
63 |