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 3
3
* @brief
4
4
*
5
5
* DAPLink Interface Firmware
6
- * Copyright (c) 2009-2016 , ARM Limited, All Rights Reserved
6
+ * Copyright (c) 2009-2019 , ARM Limited, All Rights Reserved
7
7
* SPDX-License-Identifier: Apache-2.0
8
8
*
9
9
* Licensed under the Apache License, Version 2.0 (the "License"); you may
22
22
#ifndef MAIN_H
23
23
#define MAIN_H
24
24
25
- #include "stdint.h"
26
-
27
- #ifdef __cplusplus
28
- extern "C" {
29
- #endif
25
+ #include <stdint.h>
30
26
31
27
/**
32
28
* @enum main_usb_busy_t
@@ -59,6 +55,10 @@ typedef enum {
59
55
MAIN_LED_FLASH_PERMANENT
60
56
} main_led_state_t ;
61
57
58
+ #ifdef __cplusplus
59
+ extern "C" {
60
+ #endif
61
+
62
62
/**
63
63
* Allows other parts of the program to request the device to eject physical media
64
64
* @param none
Original file line number Diff line number Diff line change 3
3
* @brief
4
4
*
5
5
* DAPLink Interface Firmware
6
- * Copyright (c) 2009-2016 , ARM Limited, All Rights Reserved
6
+ * Copyright (c) 2009-2019 , ARM Limited, All Rights Reserved
7
7
* SPDX-License-Identifier: Apache-2.0
8
8
*
9
9
* Licensed under the Apache License, Version 2.0 (the "License"); you may
22
22
#ifndef MAIN_H
23
23
#define MAIN_H
24
24
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>
31
27
32
28
// LED state
33
29
typedef enum main_led_state {
@@ -45,13 +41,14 @@ typedef enum main_usb_connect {
45
41
USB_DISCONNECTING
46
42
} main_usb_connect_t ;
47
43
44
+ #ifdef __cplusplus
45
+ extern "C" {
46
+ #endif
47
+
48
48
void main_reset_target (uint8_t send_unique_id );
49
49
void main_usb_set_test_mode (bool enabled );
50
- void main_usb_configure_event (void );
51
- void main_usb_busy_event (void );
52
50
void main_powerdown_event (void );
53
51
void main_disable_debug_event (void );
54
- void main_hid_send_event (void );
55
52
void main_cdc_send_event (void );
56
53
void main_msc_disconnect_event (void );
57
54
void main_msc_delay_disconnect_event (void );
You can’t perform that action at this time.
0 commit comments