c8750b9dfd
Enable -Wconversion and -Wsign-conversion
...
Prevents implicit conversions to go undetected, as they will have to be
explicit now.
2024-09-09 08:28:02 +02:00
129020e1c5
Fix format errors in printf-like functions
2024-07-24 15:12:09 +02:00
Miquel Vidal i Pinyol
478ed1f5d0
Use proper format specifiers
...
Allows compiling for architectures with different data type sizes
2024-07-24 15:12:09 +02:00
d45041e00c
Disable delayed connect
2023-11-16 12:39:14 +01:00
7aa3434e79
Remove ENABLE_DEBUG comments
2023-04-06 15:33:15 +00:00
467cc9aa7e
Fix value_str() usage
2023-04-06 15:33:15 +00:00
1909d8106c
Allow the select channel as input in a mux
...
Required to implement the tr channel in the breakdown model. See
https://pm.bsc.es/gitlab/rarias/ovni/-/issues/101
2023-04-06 15:33:15 +00:00
c624374cc8
Allow mux to specify the default value
...
Will be written to the output when the selection function returns NULL
as the selected input.
2023-04-06 15:33:15 +00:00
76efd7c216
Add FIXME notice in mux select chan_dirty()
2023-03-24 12:08:45 +00:00
ddbb7dd9f4
Add include-what-you-use
...
Adds forwards declarations in headers and includes all headers in
sources, even if they are found by transitive includes.
2023-03-24 12:08:45 +00:00
648411c686
Remove trailing new line in err() and die()
2023-03-24 12:08:45 +00:00
5a03fd49e9
Remove function prefix from err()
2023-03-24 12:08:45 +00:00
ab3e823134
Rename CHAN_DUPLICATES to CHAN_ALLOW_DUP
2023-03-24 12:08:45 +00:00
f61711047c
Remove buffer argument from value_str()
...
Use a ring of buffers instead, so we can printf() up to 16 values in
the same call.
2023-03-24 12:08:45 +00:00
82f1cc287d
Update copyright years to 2021-2023
2023-03-24 12:08:45 +00:00
8c509475f9
Fix dbg() call
2023-03-24 12:08:45 +00:00
b265442b8c
Mark select channel as dirty on mux_init()
...
Ensures that the select callback will be called on the propagation
phase, immediately setting the right output. Otherwise the mux won't be
updated until the select channel sets a new value.
2023-03-24 12:08:45 +00:00
fe6db823a7
Index mux inputs by an integer
2023-03-24 12:08:45 +00:00
cc5582c493
Split nanos6 model into separate files
2023-03-24 12:08:45 +00:00
4a8255e227
Complete Nanos6 model
2023-03-24 12:08:45 +00:00
524ccc4dd5
Begin porting nanos6 model
2023-03-24 12:08:45 +00:00
e240937e58
Add multiple callback types in the patchbay
2023-03-24 12:08:45 +00:00
97b96801d1
Ensure mux channels are registered in the bay
2023-03-24 12:08:45 +00:00
f40a0a8d12
Prevent propagation loops
2023-03-24 12:08:45 +00:00
227a2d91df
Allow duplicates in the mux output channel
2023-03-24 12:08:45 +00:00
9cc563d0dd
Add properties to channels and duplicate support
2023-03-24 12:08:45 +00:00
0944f84ac9
Allow dirty writes selectively
2023-03-24 12:08:45 +00:00
e1e0e9662d
Pack the value structure to be hashable
2023-03-24 12:08:45 +00:00
1cea193ea3
Add support for patchbay and muxes
2023-03-24 12:08:45 +00:00