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.
Diff: utils.h
- Revision:
- 9:1b54bac6d9a7
- Parent:
- 8:f23601373e8b
- Child:
- 10:e63fe4080760
--- a/utils.h Wed Oct 02 22:25:12 2019 +0000 +++ b/utils.h Thu Oct 03 23:28:56 2019 +0000 @@ -3,6 +3,7 @@ #include "mbed.h" #include "chassis_mode.h" +#include "log.h" /* Structs @@ -18,7 +19,6 @@ s_section* nextSection; }s_Section; - /* Globals */ @@ -27,7 +27,6 @@ extern bool b_UTILS_flag_button_SECTIONS; extern bool b_UTILS_flag_emergency_stop; -extern Serial rs_UTILS_pc; extern Serial rs_UTILS_odroid; extern InterruptIn b_UTILS_button; extern InterruptIn b_UTILS_emergency_signal; @@ -40,5 +39,7 @@ */ void it_pressed(); void it_emergency_signal_recieved(); +void bubbleSort(double arr[], int n); +void swap(double *xp, double *yp); #endif \ No newline at end of file