mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-03 03:56:44 -04:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
parent
dcaa02c1e1
commit
fcc52e83de
23 changed files with 92 additions and 23 deletions
|
@ -19,7 +19,8 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __USB_SERIAL_ENDPOINTS_H
|
||||
#define __USB_SERIAL_ENDPOINTS_H
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
|
@ -49,3 +50,5 @@ extern USB_DECLARE_QUEUE(usb_endpoint_bulk_in);
|
|||
|
||||
extern usb_endpoint_t usb_endpoint_bulk_out;
|
||||
extern USB_DECLARE_QUEUE(usb_endpoint_bulk_out);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue