Does "extend" mean the same thing in these two sentences?

Can we extend the legs of this dining table?

Extend the TV antenna.
different meanings