diff options
| author | hathach <[email protected]> | 2018-12-14 13:08:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-14 13:08:21 +0700 |
| commit | a3713f801d97b1903593a53c02da682acb3acee0 (patch) | |
| tree | e251dceaf68ab8b8e6b982a180f8e65119f0a872 /examples | |
| parent | edf885ca465e16d74833a4866951ca9aa7d4326c (diff) | |
clean up compiler attribute
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/obsolete/host/src/keyboard_host_app.c | 2 | ||||
| -rw-r--r-- | examples/obsolete/host/src/msc_cli.c | 2 |
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] == ':') |
