1.1 --- a/pkg/devices/lib/cpm/include/cpm-common.h Thu Apr 04 00:26:27 2024 +0200
1.2 +++ b/pkg/devices/lib/cpm/include/cpm-common.h Thu Apr 04 00:31:36 2024 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Common clock functionality.
1.6 *
1.7 - * Copyright (C) 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -189,19 +189,20 @@
1.13
1.14 class Control : public Control_base
1.15 {
1.16 - Field _gate, _change_enable, _busy;
1.17 + Field _gate, _change_enable, _busy, _stop;
1.18
1.19 public:
1.20 explicit Control(Field gate,
1.21 Field change_enable = Field::undefined,
1.22 - Field busy = Field::undefined)
1.23 - : _gate(gate), _change_enable(change_enable), _busy(busy)
1.24 + Field busy = Field::undefined,
1.25 + Field stop = Field::undefined)
1.26 + : _gate(gate), _change_enable(change_enable), _busy(busy), _stop(stop)
1.27 {
1.28 }
1.29
1.30 explicit Control()
1.31 : _gate(Field::undefined), _change_enable(Field::undefined),
1.32 - _busy(Field::undefined)
1.33 + _busy(Field::undefined), _stop(Field::undefined)
1.34 {
1.35 }
1.36