forked from len0rd/rockbox
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17532 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a3524029bf
commit
9098112869
1 changed files with 3 additions and 1 deletions
|
|
@ -721,9 +721,11 @@ void rec_command(enum recording_command cmd)
|
||||||
case RECORDING_CMD_STOP_SHUTDOWN:
|
case RECORDING_CMD_STOP_SHUTDOWN:
|
||||||
pm_activate_clipcount(false);
|
pm_activate_clipcount(false);
|
||||||
audio_stop_recording();
|
audio_stop_recording();
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
audio_close_recording();
|
audio_close_recording();
|
||||||
|
#endif
|
||||||
sys_poweroff();
|
sys_poweroff();
|
||||||
break;
|
break;
|
||||||
case RECORDING_CMD_STOP:
|
case RECORDING_CMD_STOP:
|
||||||
pm_activate_clipcount(false);
|
pm_activate_clipcount(false);
|
||||||
audio_stop_recording();
|
audio_stop_recording();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue