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.tar.gz
rockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.zip
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 0f2f51a424..ef08a9e220 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -257,7 +257,11 @@ struct simplelist_info {
257}; 257};
258 258
259#define SIMPLELIST_MAX_LINES 32 259#define SIMPLELIST_MAX_LINES 32
260#ifdef HAVE_ATA_SMART
261#define SIMPLELIST_MAX_LINELENGTH 48
262#else
260#define SIMPLELIST_MAX_LINELENGTH 32 263#define SIMPLELIST_MAX_LINELENGTH 32
264#endif
261 265
262/** The next three functions are used if the text is mostly static. 266/** The next three functions are used if the text is mostly static.
263 These should be called in the action callback for the list. 267 These should be called in the action callback for the list.