|
@@ -20,7 +20,6 @@
|
|
|
*/
|
|
|
#include "speakup.h"
|
|
|
#include "spk_priv.h"
|
|
|
-#include "serialio.h"
|
|
|
#include "speakup_dtlk.h" /* local header file for LiteTalk values */
|
|
|
|
|
|
#define DRV_VERSION "2.11"
|
|
@@ -111,10 +110,10 @@ static struct spk_synth synth_ltlk = {
|
|
|
.startup = SYNTH_START,
|
|
|
.checkval = SYNTH_CHECK,
|
|
|
.vars = vars,
|
|
|
- .io_ops = &spk_serial_io_ops,
|
|
|
+ .io_ops = &spk_ttyio_ops,
|
|
|
.probe = synth_probe,
|
|
|
- .release = spk_serial_release,
|
|
|
- .synth_immediate = spk_serial_synth_immediate,
|
|
|
+ .release = spk_ttyio_release,
|
|
|
+ .synth_immediate = spk_ttyio_synth_immediate,
|
|
|
.catch_up = spk_do_catch_up,
|
|
|
.flush = spk_synth_flush,
|
|
|
.is_alive = spk_synth_is_alive_restart,
|
|
@@ -159,7 +158,7 @@ static int synth_probe(struct spk_synth *synth)
|
|
|
{
|
|
|
int failed = 0;
|
|
|
|
|
|
- failed = spk_serial_synth_probe(synth);
|
|
|
+ failed = spk_ttyio_synth_probe(synth);
|
|
|
if (failed == 0)
|
|
|
synth_interrogate(synth);
|
|
|
synth->alive = !failed;
|