Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Interference_Simple
Revision 9:80a5ef57af11, committed 2020-02-21
- Comitter:
- aktk
- Date:
- Fri Feb 21 05:31:49 2020 +0000
- Branch:
- 35e9675a
- Parent:
- 8:1f88fb3a4c57
- Commit message:
- Modified types of Signal and Carrier from "* const" to just "*"
Changed in this revision
| AMPulseTrain.cpp | Show annotated file Show diff for this revision Revisions of this file |
| AMPulseTrain.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1f88fb3a4c57 -r 80a5ef57af11 AMPulseTrain.cpp
--- a/AMPulseTrain.cpp Fri Feb 21 05:29:09 2020 +0000
+++ b/AMPulseTrain.cpp Fri Feb 21 05:31:49 2020 +0000
@@ -2,9 +2,9 @@
AMPulseTrain::AMPulseTrain(
/// Carrier Pulse Train
- PulseTrain * const arg_carrier,
+ PulseTrain * arg_carrier,
/// Initial AM Signal expression
- AMSignal * const arg_signal
+ AMSignal * arg_signal
):
Carrier(arg_carrier),
Signal(arg_signal)
diff -r 1f88fb3a4c57 -r 80a5ef57af11 AMPulseTrain.h
--- a/AMPulseTrain.h Fri Feb 21 05:29:09 2020 +0000
+++ b/AMPulseTrain.h Fri Feb 21 05:31:49 2020 +0000
@@ -29,16 +29,16 @@
*/
AMPulseTrain(
/// Carrier Pulse Train
- PulseTrain * const arg_carrier = new PulseTrain(),
+ PulseTrain * arg_carrier = new PulseTrain(),
/// Initial AM Signal expression
- AMSignal * const arg_signal = new AMSignal()
+ AMSignal * arg_signal = new AMSignal()
);
/// Carrier Pulse Train
- PulseTrain * const Carrier;
+ PulseTrain * Carrier;
/// AM Signal
- AMSignal * const Signal;
+ AMSignal * Signal;
/// register callback called every clock (not carrier pulse edges)
void attachCallback_asClock(