mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233: remove weak attribute on some functions
This feature was never used and it is not even working because weak linking doesn't work in-between files in a library. Change-Id: I389ea5f17be1d9db0e2150828d704be5a091e09d
This commit is contained in:
parent
96a7603bf9
commit
501e8a7e71
4 changed files with 13 additions and 15 deletions
|
|
@ -180,7 +180,7 @@ bool imx233_button_read_hold(void)
|
|||
return imx233_button_read_btn(hold_idx);
|
||||
}
|
||||
|
||||
bool __attribute__((weak)) button_hold(void)
|
||||
bool button_hold(void)
|
||||
{
|
||||
bool hold_button = imx233_button_read_hold();
|
||||
#ifndef BOOTLOADER
|
||||
|
|
@ -202,7 +202,7 @@ bool imx233_button_read_jack(void)
|
|||
return imx233_button_read_btn(jack_idx);
|
||||
}
|
||||
|
||||
bool __attribute__((weak)) headphones_inserted(void)
|
||||
bool headphones_inserted(void)
|
||||
{
|
||||
return imx233_button_read_jack();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue