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.
Diff: hardware.h
- Revision:
- 245:d97d09df3629
- Parent:
- 244:1c6c0af8508e
- Child:
- 253:a9bf7a9f7fbb
--- a/hardware.h Mon Nov 12 12:37:15 2018 +0000 +++ b/hardware.h Mon Nov 12 12:43:31 2018 +0000 @@ -24,7 +24,7 @@ #define AVDD 3300.0f //mV /*allows for inverting power modules*/ -#define set_dtc(phase, value) *phase = (value) +#define set_dtc(phase, value) *phase = 1.0f - (value) /*inverter linearity limit*/ #define LINEAR_DTC_MAX 0.945f