Built-in active filter for an improved response to carbon monoxide combining thin- and thick-film technologies