Extracted staffVolumeUp to seperate file
All checks were successful
Build Code / build (push) Successful in 1m15s

This commit is contained in:
2025-10-22 14:58:37 +02:00
parent d98f03ccdd
commit ff67e2438f
4 changed files with 18 additions and 7 deletions

10
src/staffFunctions.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include <staffFunctions.h>
#include <constants.h>
void staffVolumeUp(int *maxVolume)
{
if (*maxVolume < 64)
{
*maxVolume += STAFF_STEPS;
}
}