From d20185ac96c4b50ed4de7098a101a31f2b140b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1stor=20Mu=C3=B1oz?= Date: Tue, 9 Dec 2014 19:38:47 +0100 Subject: iPod Classic: reads HDD S.M.A.R.T. data Adds ata_read_smart() function to storage ATA driver, current SMART data can be displayed and optionally written to hard disk using System->Debug menu. Change-Id: Ie8817bb311d5d956df2f0fbfaf554e2d53e89a93 --- apps/gui/list.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/gui') diff --git a/apps/gui/list.h b/apps/gui/list.h index 0f2f51a..ef08a9e 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -257,7 +257,11 @@ struct simplelist_info { }; #define SIMPLELIST_MAX_LINES 32 +#ifdef HAVE_ATA_SMART +#define SIMPLELIST_MAX_LINELENGTH 48 +#else #define SIMPLELIST_MAX_LINELENGTH 32 +#endif /** The next three functions are used if the text is mostly static. These should be called in the action callback for the list. -- cgit v1.1