/* AX12 */
AX12_init(&gen.ax12);
AX12_set_hardware_send(&gen.ax12, ax12_send_char);
AX12_set_hardware_recv(&gen.ax12, ax12_recv_char);
AX12_set_hardware_switch(&gen.ax12, ax12_switch_uart);
uart_register_tx_event(UART_AX12_NUM, ax12_send_callback);
/* AX12 */
AX12_init(&gen.ax12);
AX12_set_hardware_send(&gen.ax12, ax12_send_char);
AX12_set_hardware_recv(&gen.ax12, ax12_recv_char);
AX12_set_hardware_switch(&gen.ax12, ax12_switch_uart);
uart_register_tx_event(UART_AX12_NUM, ax12_send_callback);