summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/DeviceManager.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
commit9db58da40cfcb6643412bfae25aefc0cd1077f9d (patch)
treec6664fc649968ca1be7ddc59dfe3e9a7dd0f3ebc /Kernel/KernelKit/DeviceManager.hpp
parentce84bea215424ff36a2c18cab67835edfa8f71b5 (diff)
MHR-23: Improve project structure, make it better.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/KernelKit/DeviceManager.hpp')
-rw-r--r--Kernel/KernelKit/DeviceManager.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/KernelKit/DeviceManager.hpp b/Kernel/KernelKit/DeviceManager.hpp
index 6e2a803f..dc53fed5 100644
--- a/Kernel/KernelKit/DeviceManager.hpp
+++ b/Kernel/KernelKit/DeviceManager.hpp
@@ -21,8 +21,6 @@
#include <NewKit/ErrorOr.hpp>
#include <NewKit/Ref.hpp>
-#define kDriveManagerCount 4U
-
// Last Rev
// Wed, Apr 3, 2024 9:09:41 AM
@@ -70,7 +68,7 @@ namespace NewOS
}
bool operator!()
{
- return !fOut && !fIn;
+ return !fOut || !fIn;
}
private: