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,6 +1,6 @@
/* USB Keyboard and CDC Serial Device for Teensy USB Development Board
* Copyright (c) 2009 PJRC.COM, LLC
* Modifications by Jacob Alexander (2011-2014)
* Modifications by Jacob Alexander (2011-2015)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@ -21,8 +21,7 @@
* THE SOFTWARE.
*/
#ifndef usb_keyboard_serial_h__
#define usb_keyboard_serial_h__
#pragma once
// ----- Includes -----
@ -701,7 +700,3 @@ static const struct descriptor_list_struct {
};
#define NUM_DESC_LIST (sizeof(descriptor_list)/sizeof(struct descriptor_list_struct))
#endif // usb_keyboard_serial_h__