sm1000_main: Tweak default menu volume
authorsjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 Sep 2015 00:05:47 +0000 (00:05 +0000)
committersjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 Sep 2015 00:05:47 +0000 (00:05 +0000)
7 is a bit quiet, set attenuation to 2 instead (volume == 13).

git-svn-id: https://svn.code.sf.net/p/freetel/code@2383 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/stm32/src/sm1000_main.c

index fbe7207e28114555bfb8e7573528b2c5a82a0d22..4c67dc632b30659a2bc1bce740cfa60d7ea57e37 100644 (file)
@@ -141,7 +141,7 @@ int main(void) {
     sfx_play(&sfx_player, sound_startup);
 
     prefs.op_mode = ANALOG;
-    prefs.menu_vol = 7;
+    prefs.menu_vol = 2;
 
     while(1) {
         /* Read switch states */
@@ -351,7 +351,7 @@ int main(void) {
 
                 nin = freedv_nin(f);
                 nout = nin;
-               freedv_set_total_bit_errors(f, 0);
+                freedv_set_total_bit_errors(f, 0);
                 if (adc1_read(&adc16k[FDMDV_OS_TAPS_16K], 2*nin) == 0) {
                     GPIOE->ODR = (1 << 3);
                     fdmdv_16_to_8_short(adc8k, &adc16k[FDMDV_OS_TAPS_16K], nin);