portapack h2+ v3.4 pcb support wm8731 portapack.cpp change to support codec
portapach h2+ v3.4 pcb support wm8731
change portapack.cpp to support wm8731 codec replace ak4951
https://github.com/eried/portapack-mayhem/blob/next/firmware/application/portapack.cpp
static const portapack::cpld::Config& portapack_cpld_config() {
return (portapack_model() == PortaPackModel::R2_20170522)
? portapack::cpld::rev_20170522::config
: portapack::cpld::rev_20170522::config //2. Change 20150901 to 20170522 support H1/H2 TFT 20150901 cpld is old tft driver
;
}
Backlight* backlight() {
return (portapack_model() == PortaPackModel::R2_20170522)
? static_cast<portapack::Backlight*>(&backlight_cat4004)
: static_cast<portapack::Backlight*>(&backlight_cat4004); //1.Change ON_OFF to cat 4004
}
download changed fw v.1.3.0
download changed fw v.1.3.0 site 2