 // Repeated calls will do nothing
 // Never returns an error, ideally
 int kcup_tray_close() {
-  digtalWriteFast(PIN_TRAY_PISTON, TRAY_CLOSED);
+  digitalWriteFast(PIN_TRAY_PISTON, TRAY_CLOSED);
   if (tray_state != TRAY_CLOSED) {
     delay(500);
   }

}

int kettle_set_temp(int temp) {

}

int kettle_dispense(int amount) {

}

void initialize() {

  pinMode(PIN_TRAY_PISTON, OUTPUT);

  Serial.begin(9600);

  arglen[CMD_mug_seek] = 1;
  arglen[CMD_mug_get] = 0;
  arglen[CMD_kcup_tray_open] = 0;
  arglen[CMD_kcup_tray_close] = 0;
  arglen[CMD_kcup_load] = 0;
  arglen[CMD_kcup_eject] = 0;
  arglen[CMD_kcup_count] = 0;
  arglen[CMD_brew] = 0;
  arglen[CMD_addin_insert] = 2;
}

int main() {
