RS41ng/src/config_internal.h

25 wiersze
605 B
C

#ifndef __CONFIG_INTERNAL_H
#define __CONFIG_INTERNAL_H
#define RADIO_PAYLOAD_MAX_LENGTH 256
#define RADIO_SYMBOL_DATA_MAX_LENGTH 512
#define RADIO_PAYLOAD_MESSAGE_MAX_LENGTH 128
// PARIS: 50 dot durations, 20 WPM -> 60ms per unit
#define MORSE_WPM_TO_SYMBOL_RATE(wpm) (1000 / (60 * 20 / wpm))
#include <stdbool.h>
extern bool leds_enabled;
extern bool bmp280_enabled;
extern bool si5351_enabled;
extern volatile bool system_initialized;
extern char *cw_message_templates[];
extern char *aprs_comment_templates[];
extern char *fsq_comment_templates[];
extern char *ftjt_message_templates[];
#endif