mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 22:51:30 +01:00
using common.c to extract date and using nios.c to check kernel version(a bit specific to nios) and using c api instead of system command to get uname
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
/**
|
||||
* Convert a value from a range to a different range (eg voltage to dac or vice
|
||||
@@ -16,4 +17,6 @@
|
||||
int ConvertToDifferentRange(int inputMin, int inputMax, int outputMin,
|
||||
int outputMax, int inputValue, int *outputValue);
|
||||
|
||||
int getAbsPath(char *buf, size_t bufSize, char *fname);
|
||||
int getAbsPath(char *buf, size_t bufSize, char *fname);
|
||||
|
||||
int GetTimeFromString(char *buf, time_t *result);
|
||||
Reference in New Issue
Block a user