Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ update ] latest tx setup

  • Loading branch information...
commit d74ee9a5f38a2a3e1c551803ee5909ffa8a05c69 1 parent 741809f
@texane authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/atmega328p/audio/tx/main.c
View
4 src/atmega328p/audio/tx/main.c
@@ -63,8 +63,8 @@ ISR(TIMER1_COMPA_vect)
#if (CONFIG_INPUT_ADC == 1)
#if (CONFIG_SIZEOF_SAMPLE == 2)
- const sample_t x = adc_read() << 6;
- /* const sample_t x = adc_read(); */
+ /* const sample_t x = adc_read() << 6; */
+ const sample_t x = adc_read();
#else /* CONFIG_SIZEOF_SAMPLE == 1 */
const sample_t x = adc_read() >> 2;
#endif /* CONFIG_SIZEOF_SAMPLE */
Please sign in to comment.
Something went wrong with that request. Please try again.