mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
M3clk (#548)
* m3: clock update, cannot set clk 4 and 5 anymore * updated firmware version
This commit is contained in:
@ -6017,7 +6017,11 @@ int set_clock_divider(int file_des) {
|
||||
// only set
|
||||
if (Server_VerifyLock() == OK) {
|
||||
|
||||
#ifdef MYTHEN3D
|
||||
if (args[0] >= NUM_CLOCKS_TO_SET) {
|
||||
#else
|
||||
if (args[0] >= NUM_CLOCKS) {
|
||||
#endif
|
||||
modeNotImplemented("clock index (divider set)", args[0]);
|
||||
}
|
||||
|
||||
@ -6075,7 +6079,7 @@ int get_clock_divider(int file_des) {
|
||||
#else
|
||||
// get only
|
||||
if (arg >= NUM_CLOCKS) {
|
||||
modeNotImplemented("clock index (divider set)", arg);
|
||||
modeNotImplemented("clock index (divider get)", arg);
|
||||
}
|
||||
if (ret == OK) {
|
||||
enum CLKINDEX c = (enum CLKINDEX)arg;
|
||||
|
Reference in New Issue
Block a user