diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 16:55:59 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 16:55:59 -0400 |
| commit | 01bd9cbc6fe64f236a1b467f011e56dcae0306e7 (patch) | |
| tree | dc74cfa742d77befcbe58715e3ae7a2727c89781 /fw/tests | |
| parent | a0c6bbb21c5e7d9e0090e66c316cf88ef7f0726b (diff) | |
| download | can-gauge-interface-01bd9cbc6fe64f236a1b467f011e56dcae0306e7.zip | |
table module
Diffstat (limited to 'fw/tests')
| -rw-r--r-- | fw/tests/system/dac_systest.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fw/tests/system/dac_systest.c b/fw/tests/system/dac_systest.c index 8653f96..9497e3b 100644 --- a/fw/tests/system/dac_systest.c +++ b/fw/tests/system/dac_systest.c @@ -19,19 +19,3 @@ main(void) { } } - -void -__interrupt() isr(void) { - static U8 ctr = 0u; - static U16 level = {0, 0}; - - if (TMR1IF) { - ctr++; - if (ctr == 23u) { // 1s period - ctr = 0u; - dacSet1a(level); - addU16(&level, 50u); - } - TMR1IF = 0; - } -} |