|
@@ -27,7 +27,7 @@ long time_min_run //,
|
|
|
) {
|
|
) {
|
|
|
Serial.println(".");
|
|
Serial.println(".");
|
|
|
Serial.print("#152 _Slave_Ports_queue__add TASK_TYPE_A[");
|
|
Serial.print("#152 _Slave_Ports_queue__add TASK_TYPE_A[");
|
|
|
- Serial.print(TASK_TYPE_A); Serial.print("] peek:[");
|
|
|
|
|
|
|
+ Serial.print(TASK_TYPE_A); Serial.print("] cur_peek:[");
|
|
|
int _Slave_Ports_queue_peek = _Slave_Ports_queue.peek() ;
|
|
int _Slave_Ports_queue_peek = _Slave_Ports_queue.peek() ;
|
|
|
int _Slave_Ports_queue_back = _Slave_Ports_queue.back() ;
|
|
int _Slave_Ports_queue_back = _Slave_Ports_queue.back() ;
|
|
|
// int _Slave_Ports_queue_push_new_ref;
|
|
// int _Slave_Ports_queue_push_new_ref;
|
|
@@ -35,11 +35,13 @@ long time_min_run //,
|
|
|
Serial.print(_Slave_Ports_queue_peek); Serial.print("] cur back["); Serial.print(_Slave_Ports_queue_back); Serial.print("] ");
|
|
Serial.print(_Slave_Ports_queue_peek); Serial.print("] cur back["); Serial.print(_Slave_Ports_queue_back); Serial.print("] ");
|
|
|
|
|
|
|
|
|
|
|
|
|
- _Slave_Ports_queue.push(_Slave_Ports_queue_back + 1);
|
|
|
|
|
|
|
+ _Slave_Ports_queue.push(_Slave_Ports_queue_back + 1);
|
|
|
int _Slave_Ports_queue_peek_new = _Slave_Ports_queue.peek() ;
|
|
int _Slave_Ports_queue_peek_new = _Slave_Ports_queue.peek() ;
|
|
|
// int _Slave_Ports_queue__push = _Slave_Ports_queue__peek + 1 ;
|
|
// int _Slave_Ports_queue__push = _Slave_Ports_queue__peek + 1 ;
|
|
|
Serial.print("] new peek[");
|
|
Serial.print("] new peek[");
|
|
|
- Serial.print(_Slave_Ports_queue_peek_new ); Serial.print("] planned["); Serial.print(_Slave_Ports_queue_back + 1 );
|
|
|
|
|
|
|
+ Serial.print(_Slave_Ports_queue_peek_new ); Serial.print("] back+1["); Serial.print(_Slave_Ports_queue_back + 1 );
|
|
|
|
|
+ Serial.print("] time_seq_id1["); Serial.print(time_seq_id);
|
|
|
|
|
+ Serial.print("] time_min_run["); Serial.print(time_min_run);
|
|
|
Serial.print("] front["); Serial.print(_Slave_Ports_queue.front()); Serial.print("] back["); Serial.print(_Slave_Ports_queue.back()); Serial.println("] ");
|
|
Serial.print("] front["); Serial.print(_Slave_Ports_queue.front()); Serial.print("] back["); Serial.print(_Slave_Ports_queue.back()); Serial.println("] ");
|
|
|
|
|
|
|
|
|
|
|