mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Awards default values to Scan
, to appease GCC 7.3.
This commit is contained in:
parent
ddf5e1632d
commit
9f6956bd87
@ -47,13 +47,9 @@ class CRT {
|
|||||||
struct Scan {
|
struct Scan {
|
||||||
enum Type {
|
enum Type {
|
||||||
Sync, Level, Data, Blank, ColourBurst
|
Sync, Level, Data, Blank, ColourBurst
|
||||||
} type;
|
} type = Scan::Blank;
|
||||||
int number_of_cycles, number_of_samples;
|
int number_of_cycles = 0, number_of_samples = 0;
|
||||||
union {
|
uint8_t phase = 0, amplitude = 0;
|
||||||
struct {
|
|
||||||
uint8_t phase, amplitude;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
void output_scan(const Scan *scan);
|
void output_scan(const Scan *scan);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user