
5 Aug
2008
5 Aug
'08
7:01 p.m.
Guennadi Liakhovetski wrote:
/* Begin command latch cycle */
- this->cmd_ctrl(mtd, cmd, ctrl);
- this->cmd_ctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE);
[snip]
See? you do the same! You replace short lowercase variable with long uppercase macros:-)
:-)
Yes, but in this case it's not just a name change; the old "ctrl" variable was stateful and thus less clear.
-Scott