¶1Appellant contends and the state agrees that appellant is entitled to credit for time served. Tripp v. State, 622 So.2d 941 (Fla.1993).
¶2Accordingly, we reverse appellant’s sentence and remand with direction to resen-tence appellant after an appropriate calculation of credit for time served in accordance with Tripp.