mirror of
https://github.com/eddyem/bta-meteo-logger.git
synced 2026-03-22 01:30:59 +03:00
init github
This commit is contained in:
14
C/bta_pos/bta_pos.c
Normal file
14
C/bta_pos/bta_pos.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "bta_shdata.h"
|
||||
|
||||
inline double sec2deg(double angle){
|
||||
return angle / 3600;
|
||||
}
|
||||
|
||||
int main(int argc, char** argv){
|
||||
get_shm_block( &sdat, ClientSide);
|
||||
if(!check_shm_block(&sdat)) return -1;
|
||||
printf("Access-Control-Allow-Origin: http://ishtar.sao.ru\n"
|
||||
"Acess-Control-Allow-Methods: POST\nContent-type:multipart/form-data\n\n");
|
||||
printf("telA=%.2f telZ=%.2f domeA=%.2f\n", sec2deg(val_A), sec2deg(val_Z), sec2deg(val_D));
|
||||
}
|
||||
|
||||
1158
C/bta_pos/bta_shdata.h
Normal file
1158
C/bta_pos/bta_shdata.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user