Skip to content

Commit

Permalink
Add Include Guard Macro
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kato committed Apr 27, 2017
1 parent 23a482f commit 8ce0725
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SdUsbConnect.h
Expand Up @@ -2,6 +2,9 @@
* @file SdUsbConnect.h
* @brief
******************************************************************************/
#ifndef SD_USB_CONNECT_H
#define SD_USB_CONNECT_H

#include "mbed.h"
#include "FATFileSystem.h"
#include "SDBlockDevice_GRBoard.h"
Expand Down Expand Up @@ -69,3 +72,5 @@ class SdUsbConnect {
USBHostMSD usb;
storage_type_t storage_type;
};

#endif
Expand Up @@ -26,7 +26,10 @@
* $Date:: 2014-07-09 16:29:19 +0900#$
* Description : RZ/A1H R7S72100 USB Sample Program
*******************************************************************************/
#ifndef USB_FUNCTION_VERSION_H
#define USB_FUNCTION_VERSION_H

#define USB_FUNCTION_LOCAL_Rev "VER080_140709"

#endif
/* End of File */
5 changes: 5 additions & 0 deletions USBDevice/USBDevice/USBDescriptor.h
Expand Up @@ -16,6 +16,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#ifndef USBDESCRIPTOR_H
#define USBDESCRIPTOR_H

/* Standard descriptor types */
#define DEVICE_DESCRIPTOR (1)
#define CONFIGURATION_DESCRIPTOR (2)
Expand Down Expand Up @@ -72,3 +75,5 @@
#define E_DATA (0x00)
#define E_FEEDBACK (0x10)
#define E_IMPLICIT_FEEDBACK (0x20)

#endif
4 changes: 4 additions & 0 deletions USBDevice/USBDevice/USBEndpoints_RZ_A1H.h
Expand Up @@ -16,6 +16,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#ifndef USBENDPOINTS_RZ_A1H_H
#define USBENDPOINTS_RZ_A1H_H

#define NUMBER_OF_LOGICAL_ENDPOINTS (16)
#define NUMBER_OF_PHYSICAL_ENDPOINTS (NUMBER_OF_LOGICAL_ENDPOINTS * 2)

Expand Down Expand Up @@ -82,4 +85,5 @@
#define MAX_PACKET_SIZE_EPINT (MAX_PACKET_SIZE_EP1)
#define MAX_PACKET_SIZE_EPISO (MAX_PACKET_SIZE_EP3)

#endif
/*EOF*/
Expand Up @@ -26,7 +26,10 @@
* $Date:: 2014-07-09 16:29:19 +0900#$
* Description : RZ/A1H R7S72100 USB Sample Program
*******************************************************************************/
#ifndef USB_HOST_VERSION_H
#define USB_HOST_VERSION_H

#define USB_HOST_LOCAL_Rev "VER080_140709"

#endif
/* End of File */

0 comments on commit 8ce0725

Please sign in to comment.