mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-17 17:35:18 +00:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __USB_SERIAL_DESCRIPTOR_H
|
||||
#define __USB_SERIAL_DESCRIPTOR_H
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
@@ -42,3 +43,5 @@ extern uint8_t* usb_descriptor_strings[];
|
||||
#define USB_WCID_VENDOR_REQ 0x19
|
||||
extern uint8_t wcid_string_descriptor[];
|
||||
extern uint8_t wcid_feature_descriptor[];
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user