         radio.writeAckPayload(1, &ackVal, 1);
     }
 #endif
-}
+}
    radio.writeAckPayload(1, &ackVal, 1);

#if ROLE == ROLE_SENDER
    pinMode(heartbeatLEDPin, OUTPUT);
#else
    actuationServo.attach(servoPin);
    actuationServo.write(RESET_SERVO_ANGLE);

Switch triggerButton = Switch(triggerButtonPin);
Switch resetButton = Switch(resetButtonPin);

uint8_t heartbeatLEDGreenPin = 5;
uint8_t heartbeatLEDRedPin = 6;

unsigned long lastHeartbeat = 0;
bool isCommHealthy = false;
