summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2014-12-09 19:38:47 +0100
committerCástor Muñoz <cmvidal@gmail.com>2015-10-07 06:15:04 +0200
commitd20185ac96c4b50ed4de7098a101a31f2b140b82 (patch)
tree087c7d3f0160864a47bd02dbeb46371c8de01cf8 /apps/gui/list.h
parent32b455851103dea48444243352efdfd693cd3b6b (diff)
downloadrockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.zip
rockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.tar.gz
rockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.tar.bz2
rockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.tar.xz
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
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h4
1 files changed, 4 insertions, 0 deletions
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.