Changeset 3693 for trunk/Ohana/src/opihi/cmd.astro/outline2.c
- Timestamp:
- Apr 11, 2005, 10:37:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/outline2.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/outline2.c
r2843 r3693 316 316 Nline = 0; 317 317 318 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 319 sprintf (line, "OVER %9d ", 0); 320 write (Ximage, line, 16); 318 SendGraphCommand (Ximage, 4, "LOAD"); 319 SendGraphCommand (Ximage, 16, "OVER %9d ", 0); 321 320 322 321 dx = par[2]; … … 336 335 337 336 if (Nline >= 510) { 338 sprintf (line, "NLINES %7d ", Nline); 339 write (Ximage, line, 16); 337 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 340 338 write (Ximage, buffer, Nline*128); 341 339 bzero (buffer, 65536); … … 344 342 } 345 343 346 sprintf (line, "NLINES %7d ", Nline); 347 write (Ximage, line, 16); 344 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 348 345 write (Ximage, buffer, Nline*128); 349 sprintf (line, "DONE");350 write (Ximage, line, 16); 346 SendGraphCommand (Ximage, 16, "DONE"); 347 351 348 free (buffer); 352 349 free (line);
Note:
See TracChangeset
for help on using the changeset viewer.
