Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Commit ed0d817

Browse files
committed
Contributing guide
1 parent 16a6885 commit ed0d817

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# welcome to tinos 2 c contributing guide
2+
Thank you for investing your time on contributing.

kernel/console/commands/feature_test/rand_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ void rand_test() {
44
print("Random numbers:\n");
55

66
for (int i = 0; i < 10; i++) {
7-
uint32_t r = rand_range(1,100);
7+
uint32_t r = rand_range(1,10000);
88

99
// crude number printing
1010
char c = '0' + (r % 10);

kernel/console/console.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ void console() {
4343
}else if (strcmp(buffer, "feattest") == 0)
4444
{
4545
feat_test();
46-
}
47-
else {
46+
} else {
4847
print("Unknown command: ");
4948
print(buffer);
5049
print("\n");

0 commit comments

Comments
 (0)