Stop streaming when changing baseband configuration.

Without, the baseband would get confused.
This commit is contained in:
Jared Boone
2015-08-27 14:07:15 -07:00
parent e751e10e45
commit 5d9079f87f
3 changed files with 9 additions and 0 deletions

View File

@@ -161,6 +161,10 @@ void streaming_enable() {
baseband_sgpio.streaming_enable();
}
void streaming_disable() {
baseband_sgpio.streaming_disable();
}
void disable() {
baseband_sgpio.streaming_disable();
baseband_codec.set_mode(max5864::Mode::Shutdown);