forked from len0rd/rockbox
hwstub: add some PP and Sansa View code
Change-Id: If188a01adee2a0e1c7a46c424a0a9cde9f666831
This commit is contained in:
parent
5b89e6618f
commit
d8071221c5
3 changed files with 235 additions and 0 deletions
|
|
@ -60,3 +60,12 @@ PP.debug_on = false
|
|||
function PP.debug(...)
|
||||
if PP.debug_on then print(...) end
|
||||
end
|
||||
|
||||
hh = h:create_topic("debug")
|
||||
hh:add("PP.debug(...) prints some debug output if PP.debug_on is true and does nothing otherwise.")
|
||||
|
||||
PP.debug_on = false
|
||||
|
||||
if PP.info.chip ~= nil then
|
||||
require "pp/gpio"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue