blob: 5b62ceb31c97a264cd85a9ce6159ed8028c2b228 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "garnet/bin/scpi/app.h"
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
int main(int argc, const char** argv) {
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
scpi::App app;
zx_status_t status = app.Start();
if (status != ZX_OK) {
return -1;
}
loop.Run();
return 0;
}