* @brief pop and return a node from the pnode_tblptr stack */
| 154 | * @brief pop and return a node from the pnode_tblptr stack |
| 155 | */ |
| 156 | uint16_t PopActiveStep() |
| 157 | { |
| 158 | gdwCurPathStep--; |
| 159 | return pnode_tblptr[gdwCurPathStep]; |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * @brief return 2 if pPath is horizontally/vertically aligned with (dx,dy), else 3 |