You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
500 B
27 lines
500 B
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "lwip/opt.h"
|
|
#include "lwip/sys.h"
|
|
#include "lwip/api.h"
|
|
#include "main.h"
|
|
#include "zport.h"
|
|
#include "zboard.h"
|
|
#include "encoder.h"
|
|
|
|
void user_main()
|
|
{
|
|
encoder_start();
|
|
|
|
printf("==============ethernet_sound_acquisition_card=============\r\n");
|
|
printf("version %d.%d", VERSION_MAIN_ID, VERSION_SUB_ID);
|
|
|
|
while (1)
|
|
{
|
|
encoder_read_printf();
|
|
port_do_debug_light_state();
|
|
osDelay(1);
|
|
}
|
|
}
|