From cf031b11f92022b5454e1e6c33ad9049262e0721 Mon Sep 17 00:00:00 2001 From: Jesper Larsen Date: Wed, 17 Jul 2013 09:14:15 +0200 Subject: [PATCH] sim900: Fix order of dlc prefixes The order of the defines for the dlc prefixes does not match the order of the array containing the strings to print. --- plugins/sim900.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/sim900.c b/plugins/sim900.c index 643de51..5d3cd92 100644 --- a/plugins/sim900.c +++ b/plugins/sim900.c @@ -49,11 +49,11 @@ #define NUM_DLC 5 -#define SETUP_DLC 0 -#define VOICE_DLC 1 -#define NETREG_DLC 2 -#define SMS_DLC 3 -#define GPRS_DLC 4 +#define VOICE_DLC 0 +#define NETREG_DLC 1 +#define SMS_DLC 2 +#define GPRS_DLC 3 +#define SETUP_DLC 4 static char *dlc_prefixes[NUM_DLC] = { "Voice: ", "Net: ", "SMS: ", "GPRS: " , "Setup: "}; -- 2.7.4