mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-28 08:49:45 -05:00
removed commented lines
This commit is contained in:
parent
a37ba1ee2b
commit
dd2fdecb21
@ -228,11 +228,6 @@ static const portapack::cpld::Config& portapack_cpld_config() {
|
||||
}
|
||||
|
||||
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)
|
||||
? static_cast<portapack::Backlight*>(&backlight_cat4004) // R2_20170522
|
||||
: static_cast<portapack::Backlight*>(&backlight_on_off); // R1_20150901
|
||||
|
Loading…
Reference in New Issue
Block a user