The carbon without hydrogen produced CO, and it is burned to produce CO2, and that is used to actually heat the mixture.