File tree Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 33 * @brief
44 *
55 * DAPLink Interface Firmware
6- * Copyright (c) 2009-2016 , ARM Limited, All Rights Reserved
6+ * Copyright (c) 2009-2019 , ARM Limited, All Rights Reserved
77 * SPDX-License-Identifier: Apache-2.0
88 *
99 * Licensed under the Apache License, Version 2.0 (the "License"); you may
2222#ifndef MAIN_H
2323#define MAIN_H
2424
25- #include "stdint.h"
26-
27- #ifdef __cplusplus
28- extern "C" {
29- #endif
25+ #include <stdint.h>
3026
3127/**
3228 * @enum main_usb_busy_t
@@ -59,6 +55,10 @@ typedef enum {
5955 MAIN_LED_FLASH_PERMANENT
6056} main_led_state_t ;
6157
58+ #ifdef __cplusplus
59+ extern "C" {
60+ #endif
61+
6262/**
6363 * Allows other parts of the program to request the device to eject physical media
6464 * @param none
Original file line number Diff line number Diff line change 33 * @brief
44 *
55 * DAPLink Interface Firmware
6- * Copyright (c) 2009-2016 , ARM Limited, All Rights Reserved
6+ * Copyright (c) 2009-2019 , ARM Limited, All Rights Reserved
77 * SPDX-License-Identifier: Apache-2.0
88 *
99 * Licensed under the Apache License, Version 2.0 (the "License"); you may
2222#ifndef MAIN_H
2323#define MAIN_H
2424
25- #include "stdint.h"
26- #include "stdbool.h"
27-
28- #ifdef __cplusplus
29- extern "C" {
30- #endif
25+ #include <stdint.h>
26+ #include <stdbool.h>
3127
3228// LED state
3329typedef enum main_led_state {
@@ -45,13 +41,14 @@ typedef enum main_usb_connect {
4541 USB_DISCONNECTING
4642} main_usb_connect_t ;
4743
44+ #ifdef __cplusplus
45+ extern "C" {
46+ #endif
47+
4848void main_reset_target (uint8_t send_unique_id );
4949void main_usb_set_test_mode (bool enabled );
50- void main_usb_configure_event (void );
51- void main_usb_busy_event (void );
5250void main_powerdown_event (void );
5351void main_disable_debug_event (void );
54- void main_hid_send_event (void );
5552void main_cdc_send_event (void );
5653void main_msc_disconnect_event (void );
5754void main_msc_delay_disconnect_event (void );
You can’t perform that action at this time.
0 commit comments