···1212 to accept a byte of data. */1313#define SYNTH_QUIET 'S' /* synth is not speaking */1414#define SYNTH_FULL 'F' /* synth is full. */1515-#define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */1515+#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */1616#define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
+1-1
drivers/staging/speakup/speakup_decpc.c
···6666#define CMD_null 0x0000 /* post status */6767#define CMD_control 0x1000 /* hard control command */6868#define CTRL_mask 0x0F00 /* mask off control nibble */6969-#define CTRL_data 0x00FF /* madk to get data byte */6969+#define CTRL_data 0x00FF /* mask to get data byte */7070#define CTRL_null 0x0000 /* null control */7171#define CTRL_vol_up 0x0100 /* increase volume */7272#define CTRL_vol_down 0x0200 /* decrease volume */
+1-1
drivers/staging/speakup/synth.c
···6464/* Main loop of the progression thread: keep eating from the buffer6565 * and push to the serial port, waiting as needed6666 *6767- * For devices that have a "full" notification mecanism, the driver can6767+ * For devices that have a "full" notification mechanism, the driver can6868 * adapt the loop the way they prefer.6969 */7070void spk_do_catch_up(struct spk_synth *synth)