From 32f365bf3cdcaadb22087041bfc44574737b557d Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Tue, 10 Jan 2023 18:50:05 +0100 Subject: database: make parent tables work with plugin Enables the use of PictureFlow and the Properties plugin with parent tables of ALLSUBENTRIES, such as an album or album artist, instead of individual tracks. Change-Id: I18c4779ed116a48c732ae32b9629e7e0d93ce7c8 --- apps/misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/misc.h') diff --git a/apps/misc.h b/apps/misc.h index 51684cb658..403a8c53ac 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -187,6 +187,9 @@ enum current_activity { ACTIVITY_USBSCREEN }; +/* custom string representation of activity */ +#define MAKE_ACT_STR(act) ((char[3]){'>', 'A'+ (act), 0x0}) + void beep_play(unsigned int frequency, unsigned int duration, unsigned int amplitude); -- cgit v1.2.3