mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 09:37:53 -04:00
removed commented lines
This commit is contained in:
parent
a37ba1ee2b
commit
dd2fdecb21
1 changed files with 0 additions and 5 deletions
|
@ -228,11 +228,6 @@ static const portapack::cpld::Config& portapack_cpld_config() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Backlight* backlight() {
|
Backlight* backlight() {
|
||||||
// if (portapack::persistent_memory::config_cpld() == 1) {
|
|
||||||
// return static_cast<portapack::Backlight*>(&backlight_cat4004);
|
|
||||||
// } else if (portapack::persistent_memory::config_cpld() == 2) {
|
|
||||||
// return static_cast<portapack::Backlight*>(&backlight_on_off);
|
|
||||||
// }
|
|
||||||
return (portapack_model() == PortaPackModel::R2_20170522)
|
return (portapack_model() == PortaPackModel::R2_20170522)
|
||||||
? static_cast<portapack::Backlight*>(&backlight_cat4004) // R2_20170522
|
? static_cast<portapack::Backlight*>(&backlight_cat4004) // R2_20170522
|
||||||
: static_cast<portapack::Backlight*>(&backlight_on_off); // R1_20150901
|
: static_cast<portapack::Backlight*>(&backlight_on_off); // R1_20150901
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue