diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-11-05 17:22:46 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-11-05 17:22:46 +0000 |
commit | 6d59785024e321f8e868f1f9f34b3d8d8961e065 (patch) | |
tree | 513b416818329d385d5641cdb826d66fd10b9c11 | |
parent | 981a639ade46b89a14d37f86a240cb39cdfb2513 (diff) | |
download | rockbox-6d59785024e321f8e868f1f9f34b3d8d8961e065.tar.gz rockbox-6d59785024e321f8e868f1f9f34b3d8d8961e065.zip |
Fix accidental C++ style comments from r28341
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28494 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/audio/wm8975.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 45fa3ffdd6..1def644f33 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c | |||
@@ -320,19 +320,19 @@ void audiohw_set_recvol(int left, int right, int type) | |||
320 | void audiohw_set_monitor(bool enable) | 320 | void audiohw_set_monitor(bool enable) |
321 | { | 321 | { |
322 | if (enable) { | 322 | if (enable) { |
323 | // set volume to 0 dB | 323 | /* set volume to 0 dB */ |
324 | wm8975_regs[LOUTMIX1] &= ~LOUTMIX1_LI2LOVOL_MASK; | 324 | wm8975_regs[LOUTMIX1] &= ~LOUTMIX1_LI2LOVOL_MASK; |
325 | wm8975_regs[LOUTMIX1] |= LOUTMIX1_LI2LOVOL(2); | 325 | wm8975_regs[LOUTMIX1] |= LOUTMIX1_LI2LOVOL(2); |
326 | wm8975_regs[ROUTMIX2] &= ~ROUTMIX2_RI2ROVOL_MASK; | 326 | wm8975_regs[ROUTMIX2] &= ~ROUTMIX2_RI2ROVOL_MASK; |
327 | wm8975_regs[ROUTMIX2] |= ROUTMIX2_RI2ROVOL(2); | 327 | wm8975_regs[ROUTMIX2] |= ROUTMIX2_RI2ROVOL(2); |
328 | // set mux to line input | 328 | /* set mux to line input */ |
329 | wm8975_write_and(LOUTMIX1, ~7); | 329 | wm8975_write_and(LOUTMIX1, ~7); |
330 | wm8975_write_and(ROUTMIX1, ~7); | 330 | wm8975_write_and(ROUTMIX1, ~7); |
331 | // enable bypass | 331 | /* enable bypass */ |
332 | wm8975_write_or(LOUTMIX1, LOUTMIX1_LI2LO); | 332 | wm8975_write_or(LOUTMIX1, LOUTMIX1_LI2LO); |
333 | wm8975_write_or(ROUTMIX2, ROUTMIX2_RI2RO); | 333 | wm8975_write_or(ROUTMIX2, ROUTMIX2_RI2RO); |
334 | } else { | 334 | } else { |
335 | // disable bypass | 335 | /* disable bypass */ |
336 | wm8975_write_and(LOUTMIX1, ~LOUTMIX1_LI2LO); | 336 | wm8975_write_and(LOUTMIX1, ~LOUTMIX1_LI2LO); |
337 | wm8975_write_and(ROUTMIX2, ~ROUTMIX2_RI2RO); | 337 | wm8975_write_and(ROUTMIX2, ~ROUTMIX2_RI2RO); |
338 | } | 338 | } |