Emanuel Kuflik
/
smat_controller
541 smart traffic controller
Diff: Road.h
- Revision:
- 7:fd8e0604faaa
- Parent:
- 5:e0d8e5e922f1
--- a/Road.h Wed Dec 11 20:12:21 2019 +0000 +++ b/Road.h Thu Dec 12 17:25:27 2019 +0000 @@ -44,9 +44,9 @@ AccCar* get_last_car(); - bool synchronize(bool simulating); + int synchronize(int simulating); - road_msg_t* msg; + void free_msg(); private: // for sharing intersections @@ -65,5 +65,8 @@ // int road_clock; + + // + road_msg_t* msg; }; #endif