diff --git a/examples/lisa-m/usb_dfu/dfu.h b/examples/lisa-m/usb_dfu/dfu.h index e4e4b230..cca07cbb 100644 --- a/examples/lisa-m/usb_dfu/dfu.h +++ b/examples/lisa-m/usb_dfu/dfu.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/examples/lisa-m/usb_dfu/usbdfu.c b/examples/lisa-m/usb_dfu/usbdfu.c index 9e72318f..7f17ec8a 100644 --- a/examples/lisa-m/usb_dfu/usbdfu.c +++ b/examples/lisa-m/usb_dfu/usbdfu.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -295,4 +295,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/examples/lisa-m/usb_hid/hid.h b/examples/lisa-m/usb_hid/hid.h index 46901039..6804cabb 100644 --- a/examples/lisa-m/usb_hid/hid.h +++ b/examples/lisa-m/usb_hid/hid.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __HID_H #define __HID_H @@ -35,4 +36,3 @@ struct usb_hid_descriptor { } __attribute__((packed)); #endif - diff --git a/examples/lisa-m/usb_hid/usbhid.c b/examples/lisa-m/usb_hid/usbhid.c index f8981af4..cf3b5430 100644 --- a/examples/lisa-m/usb_hid/usbhid.c +++ b/examples/lisa-m/usb_hid/usbhid.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -292,4 +292,3 @@ void sys_tick_handler(void) usbd_ep_write_packet(0x81, buf, 4); } - diff --git a/examples/other/usb_cdcacm/cdc.h b/examples/other/usb_cdcacm/cdc.h index c67b5e9a..db0f2bcf 100644 --- a/examples/other/usb_cdcacm/cdc.h +++ b/examples/other/usb_cdcacm/cdc.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __CDC_H #define __CDC_H @@ -125,4 +126,3 @@ struct usb_cdc_notification { } __attribute__((packed)); #endif - diff --git a/examples/other/usb_cdcacm/cdcacm.c b/examples/other/usb_cdcacm/cdcacm.c index 3d37db2b..b911a612 100644 --- a/examples/other/usb_cdcacm/cdcacm.c +++ b/examples/other/usb_cdcacm/cdcacm.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -245,4 +245,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/examples/other/usb_dfu/dfu.h b/examples/other/usb_dfu/dfu.h index e4e4b230..cca07cbb 100644 --- a/examples/other/usb_dfu/dfu.h +++ b/examples/other/usb_dfu/dfu.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/examples/other/usb_dfu/usbdfu.c b/examples/other/usb_dfu/usbdfu.c index a6d8ce75..cb05531a 100644 --- a/examples/other/usb_dfu/usbdfu.c +++ b/examples/other/usb_dfu/usbdfu.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -271,4 +271,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/examples/other/usb_hid/hid.h b/examples/other/usb_hid/hid.h index 46901039..6804cabb 100644 --- a/examples/other/usb_hid/hid.h +++ b/examples/other/usb_hid/hid.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __HID_H #define __HID_H @@ -35,4 +36,3 @@ struct usb_hid_descriptor { } __attribute__((packed)); #endif - diff --git a/examples/other/usb_hid/usbhid.c b/examples/other/usb_hid/usbhid.c index 6226f32c..fe3313cd 100644 --- a/examples/other/usb_hid/usbhid.c +++ b/examples/other/usb_hid/usbhid.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -273,4 +273,3 @@ void sys_tick_handler(void) usbd_ep_write_packet(0x81, buf, 4); } - diff --git a/examples/stm32-h103/usb_cdcacm/cdc.h b/examples/stm32-h103/usb_cdcacm/cdc.h index c67b5e9a..db0f2bcf 100644 --- a/examples/stm32-h103/usb_cdcacm/cdc.h +++ b/examples/stm32-h103/usb_cdcacm/cdc.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __CDC_H #define __CDC_H @@ -125,4 +126,3 @@ struct usb_cdc_notification { } __attribute__((packed)); #endif - diff --git a/examples/stm32-h103/usb_cdcacm/cdcacm.c b/examples/stm32-h103/usb_cdcacm/cdcacm.c index 6029ece2..d11d9a02 100644 --- a/examples/stm32-h103/usb_cdcacm/cdcacm.c +++ b/examples/stm32-h103/usb_cdcacm/cdcacm.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -243,4 +243,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/examples/stm32-h103/usb_dfu/dfu.h b/examples/stm32-h103/usb_dfu/dfu.h index e4e4b230..cca07cbb 100644 --- a/examples/stm32-h103/usb_dfu/dfu.h +++ b/examples/stm32-h103/usb_dfu/dfu.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/examples/stm32-h103/usb_dfu/usbdfu.c b/examples/stm32-h103/usb_dfu/usbdfu.c index 9e72318f..7f17ec8a 100644 --- a/examples/stm32-h103/usb_dfu/usbdfu.c +++ b/examples/stm32-h103/usb_dfu/usbdfu.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -295,4 +295,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/examples/stm32-h103/usb_hid/hid.h b/examples/stm32-h103/usb_hid/hid.h index 46901039..6804cabb 100644 --- a/examples/stm32-h103/usb_hid/hid.h +++ b/examples/stm32-h103/usb_hid/hid.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __HID_H #define __HID_H @@ -35,4 +36,3 @@ struct usb_hid_descriptor { } __attribute__((packed)); #endif - diff --git a/examples/stm32-h103/usb_hid/usbhid.c b/examples/stm32-h103/usb_hid/usbhid.c index e27dac7e..f98448c9 100644 --- a/examples/stm32-h103/usb_hid/usbhid.c +++ b/examples/stm32-h103/usb_hid/usbhid.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -273,4 +273,3 @@ void sys_tick_handler(void) usbd_ep_write_packet(0x81, buf, 4); } - diff --git a/examples/stm32-h103/usb_iap/usbiap.c b/examples/stm32-h103/usb_iap/usbiap.c index 9e72318f..7f17ec8a 100644 --- a/examples/stm32-h103/usb_iap/usbiap.c +++ b/examples/stm32-h103/usb_iap/usbiap.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -295,4 +295,3 @@ int main(void) while (1) usbd_poll(); } - diff --git a/include/usbd.h b/include/usbd.h index 310c44e6..f65f9435 100644 --- a/include/usbd.h +++ b/include/usbd.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __USBD_H #define __USBD_H @@ -68,4 +69,3 @@ extern uint8_t usbd_ep_stall_get(uint8_t addr); extern void usbd_cable_connect(uint8_t on); #endif - diff --git a/include/usbstd.h b/include/usbstd.h index 7c4cd37d..ee969d58 100644 --- a/include/usbstd.h +++ b/include/usbstd.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + #ifndef __USBSTD_H #define __USBSTD_H @@ -199,4 +200,3 @@ struct usb_string_descriptor { } __attribute__((packed)); #endif - diff --git a/lib/usb/usb.c b/lib/usb/usb.c index 968568e5..dd9d00c3 100644 --- a/lib/usb/usb.c +++ b/lib/usb/usb.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/usb/usb_control.c b/lib/usb/usb_control.c index c10144d8..73e83729 100644 --- a/lib/usb/usb_control.c +++ b/lib/usb/usb_control.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/usb/usb_f103.c b/lib/usb/usb_f103.c index 5a79a82d..381ee797 100644 --- a/lib/usb/usb_f103.c +++ b/lib/usb/usb_f103.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/usb/usb_private.h b/lib/usb/usb_private.h index 6c7e0739..894771a6 100644 --- a/lib/usb/usb_private.h +++ b/lib/usb/usb_private.h @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/usb/usb_standard.c b/lib/usb/usb_standard.c index 770d3ccc..e6d07275 100644 --- a/lib/usb/usb_standard.c +++ b/lib/usb/usb_standard.c @@ -1,7 +1,7 @@ /* * This file is part of the libopenstm32 project. * - * Copyright (C) 2010 Gareth McMullin + * Copyright (C) 2010 Gareth McMullin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by