dodany kod c od Krzyska po wielu modyfikacjach przez Gemini zeby usunac zalezność od TI-RTOS

This commit is contained in:
2026-02-19 11:59:33 +01:00
parent bf9c4596b8
commit d086ef28de
336 changed files with 52294 additions and 1006 deletions

39
src/sqrt.h Normal file
View File

@@ -0,0 +1,39 @@
/*
* sqrt.h
*
* Created on: 16-02-2017
* Author: Krzysztof Jakubczyk
*/
#ifndef SQRT_H_
#define SQRT_H_
#include "tdefs.h"
struct sqrt_logic
{
float *fin;
float *fout;
};
struct sqrt_io
{
u32 in_float_in;
u32 out_float_out;
}__attribute__((__packed__));
struct sqrt_params
{
}__attribute__((__packed__));
struct sqrt_args
{
struct sqrt_io io;
struct sqrt_params params;
// u16 crc;
}__attribute__((__packed__));
extern void sqrt_(void *args, void *logic);
extern int sqrt_initlog(void *arguments, void *logic);
#endif /* SQRT_H_ */