1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 18:30:21 +00:00

Awards default values to Scan, to appease GCC 7.3.

This commit is contained in:
Thomas Harte 2019-02-19 21:40:42 -05:00
parent ddf5e1632d
commit 9f6956bd87

View File

@ -47,13 +47,9 @@ class CRT {
struct Scan {
enum Type {
Sync, Level, Data, Blank, ColourBurst
} type;
int number_of_cycles, number_of_samples;
union {
struct {
uint8_t phase, amplitude;
};
};
} type = Scan::Blank;
int number_of_cycles = 0, number_of_samples = 0;
uint8_t phase = 0, amplitude = 0;
};
void output_scan(const Scan *scan);