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: C12832_lcd USBDevice mbed-rtos mbed mmSPI_RTOS watchdog_RTOS
Fork of RTOS_project_fork_01 by
Diff: main.cpp
- Revision:
- 2:4336e18b60fe
- Parent:
- 1:a3df81701818
- Child:
- 4:e3887e314551
--- a/main.cpp Tue Sep 17 20:40:09 2013 +0000
+++ b/main.cpp Tue Sep 17 20:43:42 2013 +0000
@@ -136,7 +136,7 @@
#include "C12832_lcd.h" // LCD display.
#include "rtos.h" // RTOS.
#include "mmSPI_RTOS.h" // SPI.
- #include "watchdog.h" // watchdog.
+ #include "watchdog_RTOS.h" // watchdog.
//---defines------------------------------------//------------------------------
#define LCD1 lcd.locate(0, 0); // LCD line 1.
#define LCD2 lcd.locate(0,11); // LCD line 2.
@@ -810,8 +810,8 @@
void watchdogThread(void const *args) // overall watchdog.
{
- int dHeartbeat; // heartbeat counter.
- Watchdog watchdog; // the one and only watchdog.
+ int dHeartbeat; // heartbeat counter.
+ Watchdog_RTOS watchdog; // the one and only watchdog.
dHeartbeat = 0; // initialize.
