custom firmware and fixed typo in comments