Allow software based volume control (#3556)

* Allow software based volume control
- enable it for AR9X
- rename "HARDWARE_VOLUME" defines to "MASTER_VOLUME"
- adjust build-firmware.py and fwoptions.py

* Software based volume control: Do it right

* whitespace cleanup

* software volume: cleanup/revert some leftovers of undone changes
This commit is contained in:
reichi
2016-06-09 22:50:06 +02:00
committed by Bertrand Songis
parent beb21ab7db
commit 0c926e5d19
9 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ elseif(PCB STREQUAL SKY9X OR PCB STREQUAL 9XRPRO OR PCB STREQUAL AR9X)
set(TARGET_SRC ${TARGET_SRC} rtc_driver.cpp)
set(BOOTLOADER bootflash8.lbm)
elseif(PCB STREQUAL AR9X)
add_definitions(-Dat91sam3s8 -DAR9X)
add_definitions(-Dat91sam3s8 -DAR9X -DSOFTWARE_VOLUME)
set(FLAVOUR ar9x)
include_directories(${THIRDPARTY_DIR}/xdk-asf-3.31.0/sam/drivers/twi)
set(SRC ${SRC} ${THIRDPARTY_DIR}/xdk-asf-3.31.0/sam/drivers/twi/twi.c)