This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# astylerc--custom options for astyle | |
# K&R style formatting/indenting uses linux brackets. | |
style=kr | |
# Use tab width with the default of 4 spaces. | |
indent=spaces | |
# Indent 'switch' blocks so that the 'case X:' statements | |
# are indented in the switch block. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# astylerc--custom options for astyle | |
# K&R style formatting/indenting uses Linux brackets. | |
style=linux | |
# Indent using tabs of 8 spaces. | |
# indent=tab=8 | |
indent=spaces=4 | |
# Indent C++ comments beginning in column one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/iofunc.c b/src/iofunc.c | |
index 2c117b21..07966984 100644 | |
--- a/src/iofunc.c | |
+++ b/src/iofunc.c | |
@@ -237,6 +237,7 @@ static ssize_t port_read(hamlib_port_t *p, void *buf, size_t count) | |
{ | |
int i; | |
ssize_t ret; | |
+ extern int uh_radio_fd; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 8bbc09ebd72b8343c1207e89ca74bc8cefd55d28 Mon Sep 17 00:00:00 2001 | |
From: Nate Bargmann <n0nb@n0nb.us> | |
Date: Thu, 5 Dec 2019 19:20:46 -0600 | |
Subject: [PATCH 1/4] New effort to use symbolic names for keystrokes | |
Many "magic numbers" exist for various keystrokes handled in the code, | |
mostly callinput.c and getexchange.c but elsewhere. Even though these | |
are often commented, symbolic names are more readable. | |
--- | |
src/Makefile.am | 2 +- |