mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
fix static const order
Obtained from: netbsd
This commit is contained in:
parent
009e2f111c
commit
128ae9780b
1 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@
|
|||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* $Id: ah_eeprom_v3.c,v 1.4 2008/11/27 22:39:42 sam Exp $
|
||||
* $FreeBSD$
|
||||
*/
|
||||
#include "opt_ah.h"
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ static void
|
|||
getPcdacInterceptsFromPcdacMinMax(HAL_EEPROM *ee,
|
||||
uint16_t pcdacMin, uint16_t pcdacMax, uint16_t *vp)
|
||||
{
|
||||
const static uint16_t intercepts3[] =
|
||||
static const uint16_t intercepts3[] =
|
||||
{ 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 };
|
||||
const static uint16_t intercepts3_2[] =
|
||||
static const uint16_t intercepts3_2[] =
|
||||
{ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 };
|
||||
const uint16_t *ip = ee->ee_version < AR_EEPROM_VER3_2 ?
|
||||
intercepts3 : intercepts3_2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue