Skip to content

Commit 3f273a1

Browse files
authored
Merge pull request #14 from floripasat/dev
Dev: Version 1.0.0 (Flight Model)
2 parents 2295f48 + 81e86fc commit 3f273a1

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

firmware/fsat_beacon_msp430/drivers/antenna/isis_antenna.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* \author Gabriel Mariano Marcelino <gabriel.mm8@gmail.com>
2727
*
28-
* \version 0.5.16
28+
* \version 0.5.17
2929
*
3030
* \date 20/09/2017
3131
*
@@ -48,8 +48,9 @@ void isis_antenna_init()
4848

4949
isis_antenna_status_t status = isis_antenna_read_deployment_status();
5050

51+
uint16_t temp_val = isis_antenna_get_temperature();
5152
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "Temperature raw data = ");
52-
debug_print_dec(isis_antenna_get_temperature());
53+
debug_print_dec(temp_val);
5354
debug_print_msg("\n\r");
5455

5556
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "Deployment status (code=");
@@ -59,7 +60,7 @@ void isis_antenna_init()
5960
// Antenna 1
6061
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "\t- Antenna 1: ");
6162

62-
if (status.antenna_1.status)
63+
if (!status.antenna_1.status)
6364
{
6465
debug_print_msg("DEPLOYED\n\r");
6566
}
@@ -71,7 +72,7 @@ void isis_antenna_init()
7172
// Antenna 2
7273
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "\t- Antenna 2: ");
7374

74-
if (status.antenna_2.status)
75+
if (!status.antenna_2.status)
7576
{
7677
debug_print_msg("DEPLOYED\n\r");
7778
}
@@ -83,7 +84,7 @@ void isis_antenna_init()
8384
// Antenna 3
8485
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "\t- Antenna 3: ");
8586

86-
if (status.antenna_3.status)
87+
if (!status.antenna_3.status)
8788
{
8889
debug_print_msg("DEPLOYED\n\r");
8990
}
@@ -95,7 +96,7 @@ void isis_antenna_init()
9596
// Antenna 4
9697
debug_print_event_from_module(DEBUG_INFO, ISIS_ANTENNA_MODULE_NAME, "\t- Antenna 4: ");
9798

98-
if (status.antenna_4.status)
99+
if (!status.antenna_4.status)
99100
{
100101
debug_print_msg("DEPLOYED\n\r");
101102
}

firmware/fsat_beacon_msp430/hal/antenna/antenna.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* \author Gabriel Mariano Marcelino <gabriel.mm8@gmail.com>
2727
*
28-
* \version 0.5.15
28+
* \version 0.5.19
2929
*
3030
* \date 15/06/2017
3131
*
@@ -72,6 +72,8 @@ void antenna_deploy()
7272
if (isis_antenna_arm())
7373
{
7474
debug_print_event_from_module(DEBUG_INFO, ANTENNA_MODULE_NAME, "The antenna module is armed!\n\r");
75+
76+
break;
7577
}
7678
else
7779
{

firmware/fsat_beacon_msp430/hal/antenna/antenna_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* \author Gabriel Mariano Marcelino <gabriel.mm8@gmail.com>
2727
*
28-
* \version 0.5.15
28+
* \version 0.5.18
2929
*
3030
* \date 23/02/2019
3131
*
@@ -47,7 +47,7 @@
4747
#define ANTENNA_ARMING_TIMEOUT_MS (ANTENNA_ARMING_TIMEOUT_S*1000)
4848
#define ANTENNA_ARMING_ATTEMPTS 5
4949

50-
#define ANTENNA_INDEPENDENT_DEPLOYMENT_BURN_TIME_S 6
50+
#define ANTENNA_INDEPENDENT_DEPLOYMENT_BURN_TIME_S 10
5151
#define ANTENNA_INDEPENDENT_DEPLOYMENT_BURN_TIME_MS (ANTENNA_INDEPENDENT_DEPLOYMENT_BURN_TIME_S*1000)
5252

5353
#define ANTENNA_SEQUENTIAL_DEPLOYMENT_BURN_TIME_S (4*ANTENNA_OVERRIDE_DEPLOYMENT_BURN_TIME_S)

firmware/fsat_beacon_msp430/version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* \author Gabriel Mariano Marcelino <gabriel.mm8@gmail.com>
2727
*
28-
* \version 0.5.16
28+
* \version 1.0.0
2929
*
3030
* \date 08/02/2019
3131
*
@@ -36,9 +36,9 @@
3636
#ifndef VERSION_H_
3737
#define VERSION_H_
3838

39-
#define FIRMWARE_VERSION "0.5.16"
39+
#define FIRMWARE_VERSION "1.0.0"
4040

41-
#define FIRMWARE_STATUS "Testing"
41+
#define FIRMWARE_STATUS "Production"
4242

4343
#define FIRMWARE_AUTHOR_NAME "Gabriel Mariano Marcelino"
4444
#define FIRMWARE_AUTHOR_EMAIL "gabriel.mm8@gmail.com"

0 commit comments

Comments
 (0)