mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Change all of the enums to the modern format.
This commit is contained in:
parent
78fc96b0a5
commit
43f8b2f6f0
50 changed files with 1085 additions and 1064 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2009-2014,2016,2018-2020 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2009-2014,2016,2018-2020,2025 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -76,20 +76,20 @@ bool CNXDNIcomNetwork::write(const unsigned char* data, NXDN_NETWORK_MESSAGE_TYP
|
|||
buffer[7U] = 0xE0U;
|
||||
|
||||
switch (type) {
|
||||
case NNMT_VOICE_HEADER:
|
||||
case NNMT_VOICE_TRAILER:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::VOICE_HEADER:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::VOICE_TRAILER:
|
||||
buffer[37U] = 0x23U;
|
||||
buffer[38U] = 0x1CU;
|
||||
buffer[39U] = 0x21U;
|
||||
break;
|
||||
case NNMT_VOICE_BODY:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::VOICE_BODY:
|
||||
buffer[37U] = 0x23U;
|
||||
buffer[38U] = 0x10U;
|
||||
buffer[39U] = 0x21U;
|
||||
break;
|
||||
case NNMT_DATA_HEADER:
|
||||
case NNMT_DATA_BODY:
|
||||
case NNMT_DATA_TRAILER:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::DATA_HEADER:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::DATA_BODY:
|
||||
case NXDN_NETWORK_MESSAGE_TYPE::DATA_TRAILER:
|
||||
buffer[37U] = 0x23U;
|
||||
buffer[38U] = 0x02U;
|
||||
buffer[39U] = 0x18U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue