Krupski:
// buffer is defined already FYI
prog_char menu2[] PROGMEM = {
" (3) %s this channel\r\n\r\n"
" Option: "
};
sprintf(buffer, menu2, P_enabled[v-1] ? "Disable" : "Enable ");
Serial.write(buffer);
Is this right?
Close. Remember that if the format string is in PROGMEM you have to use sprintf_P(). Other than that it looks correct to me (depending on the declarations of buffer, P_enabled[], v, etc).