mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Use void arguments list consistently in C code
On my way, fixed a couple of cases where we had `()` in the header, and non-empty argument list in the source file. PUBLISHED_FROM=5519526cf84e2bbd425a726fcc112fea1a95cbf1
This commit is contained in:
1 parent
5f93f7162f
commit
2a541175b5
12 files changed
+20
-20
No files matched your search
@@ -47,7 +47,7 @@ void data_init_sensors(int tmp006_addr, int bm222_addr) {
|
||||
}
|
||||
}
|
||||
|
||||
void data_collect() {
|
||||
void data_collect(void) {
|
||||
double volt = tmp006_read_sensor_voltage(s_tmp006_addr);
|
||||
double temp = tmp006_read_die_temp(s_tmp006_addr);
|
||||
if (volt != TMP006_INVALID_READING && temp != TMP006_INVALID_READING) {
|
||||
|
||||
Reference in new issue
Block a user