Changeset 2598
- Timestamp:
- 11/22/15 14:20:49 (8 years ago)
- Files:
-
- trunk/libffado/src/dice/focusrite/saffire_pro24.cpp (modified) (2 diffs)
- trunk/libffado/src/dice/focusrite/saffire_pro26.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/focusrite/saffire_pro24.cpp
r2501 r2598 27 27 28 28 #include "libutil/ByteSwap.h" 29 #include <cstdio> 29 30 30 31 namespace Dice { … … 434 435 // is the pro24dsp. 435 436 if (version[0] != 0x00010004 && version[0] != 0x00010008 && version[0] != 0x00020000) { 436 debugError("This is a Focusrite Saffire Pro24 but not the right firmware. Better stop here before something goes wrong.\n");437 debugError("This device has firmware 0x%x while we only know about versions 0x%x, 0x%x and 0x%x.\n", version[0], 0x10004, 0x10008, 0x00020000);437 fprintf(stderr, "This is a Focusrite Saffire Pro24 but not the right firmware. Better stop here before something goes wrong.\n"); 438 fprintf(stderr, "This device has firmware 0x%x while we only know about versions 0x%x, 0x%x and 0x%x.\n", version[0], 0x10004, 0x10008, 0x00020000); 438 439 return false; 439 440 } trunk/libffado/src/dice/focusrite/saffire_pro26.cpp
r2590 r2598 28 28 29 29 #include "libutil/ByteSwap.h" 30 #include <cstdio> 30 31 31 32 namespace Dice { … … 379 380 // Only known firmware for Saffire Pro 26 devices so far is 0x10000. 380 381 if (version[0] != 0x10000) { 381 debugError("This is a Focusrite Saffire Pro26 but not the right firmware. Better stop here before something goes wrong.\n");382 debugError("This device has firmware 0x%x while we only know about version 0x%x.\n", version[0], 0x10000);382 fprintf(stderr, "This is a Focusrite Saffire Pro26 but not the right firmware. Better stop here before something goes wrong.\n"); 383 fprintf(stderr, "This device has firmware 0x%x while we only know about version 0x%x.\n", version[0], 0x10000); 383 384 return false; 384 385 }