Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: adi_console_menu platform_drivers
app/main.c
- Committer:
- pmallick
- Date:
- 2021-07-23
- Revision:
- 5:384997a66f58
- Parent:
- 1:63c505e13da4
File content as of revision 5:384997a66f58:
/*! ***************************************************************************** * @file: main.c * @brief: *----------------------------------------------------------------------------- * Copyright (c) 2020-2021 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement. ******************************************************************************/ #include <stdio.h> #include <ctype.h> #include "error.h" #include "adi_console_menu.h" #include "ad5770r_console_app.h" //Variables declaration // Function Definitions int main (void) { int32_t setupResult; /* Initialize the AD7124 application before the main loop */ if ((setupResult = ad5770r_app_initialize()) < 0) { printf("Error setting up AD5770R (%d)" EOL EOL, setupResult); } while(true) { adi_do_console_menu(&ad5770r_main_menu); } // this line should never be reached return (FAILURE); }