Serial.available using RS485 not working inside class

I tried different declarations for the passing character. Rather than 'directly' passing the character I defined it before and passed the variable

Working:

char* c = "X";
rs485.send(c);

Not Working:

rs485.send("X");

I only have assumptions why this way works. When declaring the variable the address can be passed to other functions. Passing it directly only one instance of the character exists.

Is this correct?