History

Use C99 variable array members for all converters

Fixes #77

Alexander Grund committed 7 years ago

Commit 353846c1 parent e9f61732 files · +2 −2Browse files

Unified · Split

2 files
  1. src/src_linear.c +1 −1
  2. src/src_zoh.c +1 −1
src/src_linear.c+1−1
@@ -31,7 +31,7 @@ typedef struct · 30 unmodified lines
3131 int reset ;
3232 long in_count, in_used ;
3333 long out_count, out_gen ;
34− float last_value [1] ;
34+ float last_value [] ;
3535 } LINEAR_DATA ;
3636
3737 /*----------------------------------------------------------------------------------------
src/src_zoh.c+1−1
@@ -29,7 +29,7 @@ typedef struct · 28 unmodified lines
2929 int reset ;
3030 long in_count, in_used ;
3131 long out_count, out_gen ;
32− float last_value [1] ;
32+ float last_value [] ;
3333 } ZOH_DATA ;
3434
3535 /*----------------------------------------------------------------------------------------

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t