mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 04:05:31 -04:00
universal7885: fm-aidl: Fix undeclared variable
This commit is contained in:
parent
946f4768e9
commit
61d1efb082
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ constexpr const char *FM_FREQ_SEEK =
|
|||
::ndk::ScopedAStatus FMSupport::setValue(SetType type, int value) {
|
||||
switch (type) {
|
||||
case SetType::SET_TYPE_FM_FREQ:
|
||||
FileIO::writeline(FM_FREQ_CTL, freq * 1000);
|
||||
FileIO::writeline(FM_FREQ_CTL, value * 1000);
|
||||
break;
|
||||
case SetType::SET_TYPE_FM_MUTE:
|
||||
case SetType::SET_TYPE_FM_VOLUME:
|
||||
|
|
|
|||
Loading…
Reference in a new issue