diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-20 18:48:43 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-20 19:01:35 +0000 |
commit | f211fe6461aae73f5ffdbe58961dbe3dd1309854 (patch) | |
tree | a4b698a5146f1ec2584f09db5b7f73f263d6bc4a /app/prototypes.h | |
parent | 5b8f47a70a57765ba04a4d75dfa31a2f55f75029 (diff) | |
download | clock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.tar.gz clock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.tar.bz2 clock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.zip |
make the interval bisection work properly for events in the next hour, add an alarm output
Diffstat (limited to 'app/prototypes.h')
-rw-r--r-- | app/prototypes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/prototypes.h b/app/prototypes.h index 66f6586..e1164bf 100644 --- a/app/prototypes.h +++ b/app/prototypes.h @@ -3,6 +3,7 @@ extern void led_init(void); extern void led1_set(int v); extern void led2_set(int v); extern void led3_set(int v); +extern void led5_set(int v); extern void led_clear(void); extern void led_set(void); extern void led_blink(unsigned ms); @@ -80,9 +81,9 @@ extern void utc_to_str(char *dst, UTC *u); extern void time_print_utc(const char *p, UTC *u, const char *t); extern void time_print_epoch(const char *p, EPOCH e, const char *t); extern double time_utc_to_tjd(UTC u); +extern double ra_normalize(double ra); extern double time_utc_to_ra(UTC u); extern double time_st_to_ra(ST st); -extern double ra_normalize(double ra); extern ST time_ra_to_st(double ra); extern ST time_utc_to_lst(UTC u, double lon); extern int time_ra_cmp(double a, double b); @@ -199,7 +200,9 @@ extern void display_report_fix(char fix, char fix2); extern void display_report_svin(int valid, int active); extern void display_dispatch(void); /* httpd.c */ -extern EPOCH alarm; extern int fs_open_custom(struct fs_file *file, const char *name); extern void fs_close_custom(struct fs_file *file); extern void cgi_init(void); +/* alarm.c */ +extern EPOCH alarm; +extern void alarm_dispatch(void); |