Sorted out some code inspection issues

This commit is contained in:
2021-04-25 20:16:07 +01:00
parent 795dc0c741
commit e32c2aa50a
4 changed files with 13 additions and 24 deletions
+1 -4
View File
@@ -100,10 +100,7 @@ namespace ASCOM.Meade.net
{
SharedSerial.ClearBuffers();
if (includePrefix)
SharedSerial.Transmit( $"#{message}");
else
SharedSerial.Transmit(message);
SharedSerial.Transmit(includePrefix ? $"#{message}" : message);
try
{