pcduino spl simplify code