summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-21 14:23:36 +0700
committerGitHub <[email protected]>2018-12-21 14:23:36 +0700
commit6ed96cb93b92acf7cce3bd6b84dc5cd8882486c4 (patch)
tree5bbe49af29735f6064ce1732afa8d88400b4e307 /examples
parent27208ad2fdbd7af5080531eafd9a1a20515cedc1 (diff)
parent257d60fe1a2f72803fd7fa28cde691f5ca34a046 (diff)
Merge pull request #27 from hathach/devlocal
clean up & add dcd_get_frame_number()
Diffstat (limited to 'examples')
-rw-r--r--examples/obsolete/host/src/keyboard_host_app.c2
-rw-r--r--examples/obsolete/host/src/msc_cli.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/obsolete/host/src/keyboard_host_app.c b/examples/obsolete/host/src/keyboard_host_app.c
index 77fa8e5d3..f6cd20fda 100644
--- a/examples/obsolete/host/src/keyboard_host_app.c
+++ b/examples/obsolete/host/src/keyboard_host_app.c
@@ -55,7 +55,7 @@
static osal_queue_t queue_kbd_hdl;
CFG_TUSB_MEM_SECTION static hid_keyboard_report_t usb_keyboard_report;
-static inline uint8_t keycode_to_ascii(uint8_t modifier, uint8_t keycode) ATTR_CONST ATTR_ALWAYS_INLINE;
+static inline uint8_t keycode_to_ascii(uint8_t modifier, uint8_t keycode);
static inline void process_kbd_report(hid_keyboard_report_t const * report);
//--------------------------------------------------------------------+
diff --git a/examples/obsolete/host/src/msc_cli.c b/examples/obsolete/host/src/msc_cli.c
index fa1f986a5..0ab42e3f1 100644
--- a/examples/obsolete/host/src/msc_cli.c
+++ b/examples/obsolete/host/src/msc_cli.c
@@ -145,7 +145,6 @@ CFG_TUSB_MEM_SECTION uint8_t fileread_buffer[CLI_FILE_READ_BUFFER];
static char cli_buffer[CLI_MAX_BUFFER];
static char volume_label[20];
-static inline void drive_number2letter(char * p_path) ATTR_ALWAYS_INLINE;
static inline void drive_number2letter(char * p_path)
{
if (p_path[1] == ':')
@@ -154,7 +153,6 @@ static inline void drive_number2letter(char * p_path)
}
}
-static inline void drive_letter2number(char * p_path) ATTR_ALWAYS_INLINE;
static inline void drive_letter2number(char * p_path)
{
if (p_path[1] == ':')