From 58d589d78f1a85876433390a1c3ab39f53bb2464 Mon Sep 17 00:00:00 2001 From: Sameer Parekh Date: Tue, 27 Nov 2012 09:38:41 -0800 Subject: [PATCH] send out some comments with the shell and also use hex not dec values --- template/shell.tmpl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/template/shell.tmpl b/template/shell.tmpl index 3b2fd8b..5cc5dab 100644 --- a/template/shell.tmpl +++ b/template/shell.tmpl @@ -11,6 +11,13 @@ mux|=0x10 if pi[:pull]>0 mux|=0x08 if pi[:pen] ==0 mux|=pi[:mux_mode] & 0x7 %> -echo <%=mux%> > /sys/kernel/debug/omap_mux/<%=pi[:modes].find{|m| m[1]==0}[0]%> +# <%=pi[:name]%> +# slew_rate: <%=pi[:slew_rate]%> +# rx: <%=pi[:rx]%> +# dir: <%=pi[:dir]%> +# pull: <%=pi[:pull]%> +# pen: <%=pi[:pen]%> +# mode: <%=pi[:mux_mode]%> +echo <%=mux.to_s(16)%> > /sys/kernel/debug/omap_mux/<%=pi[:modes].find{|m| m[1]==0}[0]%> <%end;end%>