Delay not working

I've got a simple program that switches 2 LED's on, waits 1s and switches them off. When I write the code to the Arduino and run it the LED's flash but for like 1/10th of a second. No matter what value I put in the delay - it doesnt seem to make the LED's stay on any longer.

int RedLED = 10; 
int GreenLED = 11; 

void setup()
  {
  pinMode(RedLED, OUTPUT);      // sets the digital pin as output
  pinMode(GreenLED, OUTPUT);      // sets the digital pin as output 
  FlashLED;
  }

void loop()
  {

  }
  
  void FlashLED()
  {
    digitalWrite(GreenLED, HIGH);   // set the LED on
    digitalWrite(RedLED, HIGH);   // set the LED on
    delay(1000);
    digitalWrite(GreenLED, LOW);   // set the LED off
    digitalWrite(RedLED, LOW);   // set the LED off
    delay(1000);
    digitalWrite(GreenLED, HIGH);   // set the LED on
    digitalWrite(RedLED, HIGH);   // set the LED on
    delay(1000);
    digitalWrite(GreenLED, LOW);   // set the LED off
    digitalWrite(RedLED, LOW);   // set the LED off
  }

What am I missing?

 pinMode(GreenLED, OUTPUT);      // sets the digital pin as output 
 FlashLED;

Should be

 pinMode(GreenLED, OUTPUT);      // sets the digital pin as output 
 FlashLED();

Doh! How could I miss that!! :)

Thanks very much - all working.