Queues
Dependencies: ELEC350-Practicals-FZ429
Fork of Task631-mbedos54 by
Revision 13:ab9f53427355, committed 2017-11-14
- Comitter:
- noutram
- Date:
- Tue Nov 14 15:20:33 2017 +0000
- Parent:
- 12:43370561e925
- Child:
- 14:1e4ce7eb6d1e
- Commit message:
- Small tweak
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 14 15:16:06 2017 +0000
+++ b/main.cpp Tue Nov 14 15:20:33 2017 +0000
@@ -17,7 +17,6 @@
//Queues - "A message can be a integer or pointer value to a certain type T that is sent to a thread or interrupt service routine."
Queue<uint32_t, 5> queue;
-
// Call this on precise intervals
void adcISR() {
@@ -72,9 +71,7 @@
// Main thread
int main() {
- redLED = 0;
- yellowLED = 0;
- greenLED = 0;
+ post();
//Start message
printf("Welcome\n");
