Aaron Marcher 5 лет назад
Родитель
Сommit
e213b48122
3 измененных файлов: 3 добавлений и 3 удалений
  1. +1
    -1
      components/ram.c
  2. +1
    -1
      components/temperature.c
  3. +1
    -1
      components/wifi.c

+ 1
- 1
components/ram.c Просмотреть файл

@@ -80,7 +80,7 @@
#include <sys/types.h>
#include <unistd.h>

#define LOG1024 10
#define LOG1024 10
#define pagetok(size, pageshift) (size_t)(size << (pageshift - LOG1024))

inline int


+ 1
- 1
components/temperature.c Просмотреть файл

@@ -11,7 +11,7 @@
{
uintmax_t temp;

if(pscanf(file, "%ju", &temp) != 1) {
if (pscanf(file, "%ju", &temp) != 1) {
return NULL;
}



+ 1
- 1
components/wifi.c Просмотреть файл

@@ -32,7 +32,7 @@
}
p = fgets(status, 5, fp);
fclose(fp);
if(!p || strcmp(status, "up\n") != 0) {
if (!p || strcmp(status, "up\n") != 0) {
return NULL;
}



Загрузка…
Отмена
Сохранить