Tidy up of volume control. Removal of xc_ptr.h in favour of built in xc pointers.

This commit is contained in:
Ross Owen
2023-04-04 12:37:59 +01:00
parent cb379f5bfb
commit 71a657dc9a
4 changed files with 77 additions and 65 deletions

View File

@@ -1194,7 +1194,8 @@ enum USBEndpointNumber_Out
#define AUDIO_START_FROM_DFU (0x87654321)
#define AUDIO_REBOOT_FROM_DFU (0xa5a5a5a5)
#define MAX_VOL (0x20000000)
/* Result of db_to_mult(MAX_VOLUME, 8, 29) */
#define MAX_VOLUME_MULT (0x20000000)
#if defined(LEVEL_METER_LEDS) && !defined(LEVEL_UPDATE_RATE)
#define LEVEL_UPDATE_RATE (400000)