File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ The issue #16 changes its public member function. But it is referred internally
88- [ Issue #13 ] ( https://github.com/suikan4github/rpp_driver/issues/13 ) Exclude Mock definition from the GCov coverage.
99### Changed
1010- [ Issue #10 ] ( https://github.com/suikan4github/rpp_driver/issues/10 ) Cover APIs of the Raspberry Pi Pico SDK.
11- - [ Issue #16 ] ( https://github.com/suikan4github/rpp_driver/issues/16 ) Change the member function name from ConfigureSRC() to ConfigureSrc().
11+ - [ Issue #15 ] ( https://github.com/suikan4github/rpp_driver/issues/15 ) Remove the redundant parameter check code from ConfigureSRC()
12+ - [ Issue #16 ] ( https://github.com/suikan4github/rpp_driver/issues/16 ) Change the member function name from ConfigureSRC() to ConfigureSrc().
1213### Deprecated
1314### Removed
1415### Fixed
Original file line number Diff line number Diff line change @@ -512,10 +512,6 @@ void ::rpp_driver::Adau1361Lower::InitializeRegisters() {
512512
513513// Set the converter clock.
514514void ::rpp_driver::Adau1361Lower::ConfigureSrc (unsigned int fs) {
515- assert ((fs == 24000 || fs == 32000 || fs == 48000 || fs == 96000 ||
516- fs == 22050 || fs == 44100 || fs == 88200 ) &&
517- " Bad Fs" );
518-
519515 switch (fs) {
520516 case 22050 :
521517 case 24000 : {
@@ -549,7 +545,7 @@ void ::rpp_driver::Adau1361Lower::ConfigureSrc(unsigned int fs) {
549545 break ;
550546 }
551547 default :
552- assert (false );
548+ assert (false && " Bad Fs " );
553549 }
554550}
555551
You can’t perform that action at this time.
0 commit comments