Elliptic flow of prompt \Dzero, \Dplus, \Ds mesons and \Lc baryons at midrapidity (\yrange0.8) in \PbPb collisions at $\sNN = 5.36$ TeV in the 30$-$50\% centrality class as a function of the charm-hadron \pt. The \vtwo of charged pions measured at $\sNN = 5.02$ TeV in the 30$-$40\% centrality class is also shown for comparison.