Compare commits
2 commits
dc1a63fbb0
...
f653fe0914
Author | SHA1 | Date | |
---|---|---|---|
|
f653fe0914 | ||
|
273a477a37 |
2 changed files with 4 additions and 1 deletions
|
@ -55,6 +55,7 @@ static constexpr int CC = MAXPWM / 2;
|
||||||
static pthread_t rc;
|
static pthread_t rc;
|
||||||
|
|
||||||
void * WriteHandler (void * data) {
|
void * WriteHandler (void * data) {
|
||||||
|
usleep(10'000);
|
||||||
printf ("Start thread\n");
|
printf ("Start thread\n");
|
||||||
PwmClass * pA = (PwmClass *) data;
|
PwmClass * pA = (PwmClass *) data;
|
||||||
Sample buf [BufLen];
|
Sample buf [BufLen];
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <mutex>
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
void print_morse_table (const TABLE<unsigned char, 64> & tab) {
|
void print_morse_table (const TABLE<unsigned char, 64> & tab) {
|
||||||
int n = 0;
|
int n = 0;
|
||||||
printf("static const unsigned char compressed_table [] = {");
|
printf("static const unsigned char compressed_table [] = {");
|
||||||
|
|
Loading…
Reference in a new issue