Skip to content
Browse files

send out some comments with the shell and also use hex not dec values

  • Loading branch information...
1 parent c0c6184 commit 58d589d78f1a85876433390a1c3ab39f53bb2464 @sameerparekh sameerparekh committed Nov 27, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 template/shell.tmpl
View
9 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%>

0 comments on commit 58d589d

Please sign in to comment.
Something went wrong with that request. Please try again.