diff --git a/SdUsbConnect.h b/SdUsbConnect.h index 87e1771..40104fd 100644 --- a/SdUsbConnect.h +++ b/SdUsbConnect.h @@ -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" @@ -69,3 +72,5 @@ class SdUsbConnect { USBHostMSD usb; storage_type_t storage_type; }; + +#endif diff --git a/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_function_version.h b/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_function_version.h index d26e3b0..72f1889 100644 --- a/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_function_version.h +++ b/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_function_version.h @@ -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 */ diff --git a/USBDevice/USBDevice/USBDescriptor.h b/USBDevice/USBDevice/USBDescriptor.h index 9d4ce84..8ec6c1f 100644 --- a/USBDevice/USBDevice/USBDescriptor.h +++ b/USBDevice/USBDevice/USBDescriptor.h @@ -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) @@ -72,3 +75,5 @@ #define E_DATA (0x00) #define E_FEEDBACK (0x10) #define E_IMPLICIT_FEEDBACK (0x20) + +#endif diff --git a/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h b/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h index f25a3d8..493b79b 100644 --- a/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h +++ b/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h @@ -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) @@ -82,4 +85,5 @@ #define MAX_PACKET_SIZE_EPINT (MAX_PACKET_SIZE_EP1) #define MAX_PACKET_SIZE_EPISO (MAX_PACKET_SIZE_EP3) +#endif /*EOF*/ diff --git a/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_host_version.h b/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_host_version.h index 33b82ea..2964b54 100644 --- a/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_host_version.h +++ b/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/inc/usb_host_version.h @@ -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 */