Changeset 3693 for trunk/Ohana/src/opihi/cmd.astro/outline.c
- Timestamp:
- Apr 11, 2005, 10:37:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/outline.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/outline.c
r2598 r3693 158 158 Nline = 0; 159 159 160 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 161 sprintf (line, "OVER %9d ", 0); 162 write (Ximage, line, 16); 160 SendGraphCommand (Ximage, 4, "LOAD"); 161 SendGraphCommand (Ximage, 16, "OVER %9d ", 0); 163 162 164 163 dx = par[2]; … … 178 177 179 178 if (Nline >= 510) { 180 sprintf (line, "NLINES %7d ", Nline); 181 write (Ximage, line, 16); 179 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 182 180 write (Ximage, buffer, Nline*128); 183 181 bzero (buffer, 65536); … … 185 183 } 186 184 } 187 188 sprintf (line, "NLINES %7d ", Nline); 189 write (Ximage, line, 16); 185 186 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 190 187 write (Ximage, buffer, Nline*128); 191 sprintf (line, "DONE");192 write (Ximage, line, 16); 188 SendGraphCommand (Ximage, 16, "DONE"); 189 193 190 free (buffer); 194 191 free (line);
Note:
See TracChangeset
for help on using the changeset viewer.
