Files
Arduino-Volume-Controller/include/staffFunctions.h
Lyubomir Penev 5c1f331b0e
All checks were successful
Generate Documentation / build (push) Successful in 21s
Made staffBolumeDown work
2025-10-31 14:42:16 +01:00

17 lines
717 B
C

#pragma once
/**
* @brief Used to increase the maximum staff volume
*
* @param maxVolume Pointer to the variable used to keep track of staff volume
*/
void staffVolumeUp(int *maxVolume);
/**
* @brief Used to decrease the maximum staff volume. If the max volume is set lower than what the current user volume is, then the user volume will also be lowered.
*
* @param maxVolume Pointer to the variable used to keep track of the max volume
* @param userVolume Pointer to the variable used to keep track of the user volume
* @param oldUserVolume Pointer to the variable used to keep track of the user volume when in mute or lowered
*/
void staffVolumeDown(int *maxVolume, int *userVolume, int *oldUserVolume);