Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of QM_BAE_review_1 by
Diff: main.cpp
- Revision:
- 55:6ea0d7e9fce2
- Parent:
- 52:daa685b0e390
- Child:
- 57:60e8f00d93c3
--- a/main.cpp Sat Aug 06 18:06:51 2016 +0000
+++ b/main.cpp Sat Aug 06 19:05:29 2016 +0000
@@ -595,6 +595,7 @@
{
B_SCZ_ANGLE = 0x00;
}
+ //printf("POWER MODE is : %d\r\n",actual_data.power_mode);
if(ACS_STATE == 0) // check ACS_STATE = ACS_CONTROL_OFF?
{
@@ -605,7 +606,7 @@
ACS_MAIN_STATUS = 0;
return;
}
- else if((actual_data.power_mode<=2)&&( (( ACS_STATE)&0x08) != 0x08))
+ else if((actual_data.power_mode<=2)||( (( ACS_STATE)&0x08) == 0x08))
{
//#if print
pc.printf("\n\r Low Power \n\r");
