mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-16 07:50:33 +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_CDC_H
|
||||
#define __USB_SERIAL_CDC_H
|
||||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
@@ -44,3 +45,5 @@ usb_request_status_t usb_set_line_coding_request(usb_endpoint_t* const endpoint,
|
||||
#endif
|
||||
|
||||
void setup_usb_serial_controller(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user